search for: divname

Displaying 4 results from an estimated 4 matches for "divname".

Did you mean: devname
2006 Aug 25
3
RJS Error: Element.update is not a function
Hi, I have implemented some RJS code and I have the same exact code in 2 different places. In one place I get the error "Element.update is not a function" and the other place works fine. Any idea why this error is coming? Breaking my head. -Vinod --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Feb 28
5
browser-crash with Ajax.Updater
Hi, on my page I start an ajax-request which returns rhtml-code (I use Rails) looping over some objects. When I place the following code within the loop my browser (FF) crashs: <script> var set_std_objekt = function (id) { new Ajax.Updater(''divname'', ''/dosomestuff'', { asynchronous:true, evalScripts:true }) } </script> <a href="#" onclick="set_std_objekt (1); return false;"><img...></a> What''s wrong here ? Instead when I include the "new Ajax.Upda...
2006 Aug 09
2
Can :before and :success move from view file into .rjs file?
...way to specify when the visual_effect should occur? I''m trying not to repeat the :before and :success blind_down visual_effect statements throughout my views. It seems like the rjs templates can only take visual effects statements in the form of page.visual_effect :blind_up, ''divname''. I can''t figure out how to add :before or :success to this statement. Thanks, DAN -- Posted via http://www.ruby-forum.com/.
2006 May 17
9
Render No Layout?
Hi guys, Am having a problem. I have this def in my index controller that works like this: def do_something $a = variable1 $b = variable2 $c = variable3 $d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'', ''#{$a} - #{$b}''); \n </script>" $trigger = "1" render(:partial =>