Displaying 1 result from an estimated 1 matches for "sitio37".
Did you mean:
sitio3
2006 May 17
4
.rjs templates undesiered output problem
...in rails, and I''m amazed
of how simple it is to generate code with ajax, however I''am having some
troubles and I can''t seem to find a way to solve''em.
Whenever I put some code in the template, let''s say:
page.visual_effect :highlight, ''sitio37'', :duration => 3
I get the desiered highlight allright, but, I also get the autogenerated
javascript code that makes it happen printed on screen, like so:
new Effect.Highlight("sitio37",{duration:3}); } catch (e) {
alert(''RJS error:\n\n'' + e.toString(...