[Proto-Scripty] Ajax.Updater and javascript evaluation

2010-02-12 Thread Hari
I am trying use Ajax.Updater which gives me back a html and the html refers to a javascript in a different file. Would a dom:loaded event in the javascript be executed..? For eg: my resopnse: html script src=abc.js/ body /html and my abc.js has Event.observer(dom:loaded, doSomething);

[Proto-Scripty] Form serialization with 2 same form ids....

2010-02-18 Thread Hari
().serialize(); and the serialized output had xyz - ['form1value','form2value'] can i avoid this somehow. moreover $$('#second #samename').first() should give me element associated with second form alone.. why does it serialize first form... Regards, Hari -- You received this message because

[Proto-Scripty] Different behavior in IE

2010-02-28 Thread Hari
on DIV which is null when IE fires the event and this page has modules from different srcs).. Is this is know problem with IE and dom:loaded? Is there a way to get around. Regards, Hari -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] onChange event fire programatically

2010-06-23 Thread Hari
i do $('myCars').value=audi; // also tried other options like making options selection true This changes the selection in UI but doesn't trigger the onChange event. How can I fire the on change event programatically. Thanks and Regards Hari -- You received this message because you

[Proto-Scripty] window.open on ajax response

2010-07-10 Thread Hari
; success == true ? window.open(http://google.com;) : window.open(http://yahoo.com;); } }); But problem is the window.open is called as part of onSuccess callback. So the browser popup blocker blocks the call. How can I get around this problem and want the popup to open. Thanks, Hari

[Proto-Scripty] Re: window.open on ajax response

2010-07-11 Thread Hari
But even this doesn't help since function call happens by a call back and not user action. So the browser popup blocker click in. One way i could think is make the Ajax call synchronous. But I think its not a great idea to make the Ajax call synchronous... Regards, Hari On Jul 11, 7:29 am