<%= form_remote_tag(:update => 'preview',
:complete =>"new Effect.Grow('preview'), new
Effect.Fold('Wrapper')",
:url => {:action => 'ack', :id =>
@params[:symbol].to_s+'|'+
@params[:qty]}) %>
<%= submit_tag 'SUBMIT', :onClick=>"this.disabled='true'"%>
<%=end_form_tag%>
The same code works very well in firefox. And also ther is no problem
with combination effects in IE. Effects works well.
The problem is submit tag doesnt perform the desired action in IE. It
doesnt call the controller.
Plsss help !
Note that you have a syntax error in your :complete callback,
as you must seperate statements by ";" instead of ",".
:complete => "new Effect.Grow('preview'); new Effect.Fold('Wrapper')"
If you still have problems, you should post a URL to a working demo
of this (will probably get you the fastest help).
Best,
-Thomas
--
Thomas Fuchs
wollzelle
questentier on AIM
madrobby on irc.freenode.net
http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 JavaScript
http://mir.aculo.us :: Where no web developer has gone before
I have corrected my syntax error but still I face the same.
When i click on submit for the form, i checked my log file, it doesnt
even process or render the action.
But it works in IE in this way,
<%= link_to_remote((submit_tag 'SUBMIT',
:onClick=>"this.disabled='true'"),:update => 'preview', :complete
=>"new Effect.Grow('preview'); new Effect.Fold('Wrapper')",
:url => {:action => 'ack', :id =>@params[:symbol].to_s+'|'+
@params[:qty]}) %>
I still wonder, Y it doesnt work if i use form_remote_tag?