The rails code
<%= 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 !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
Form remote tag works fine for me in IE.
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
Am 12.09.2006 um 09:24 schrieb Carolene:
>
> The rails code
>
> <%= 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 !
>
>
> >
--
Thomas Fuchs
wollzelle
http://www.wollzelle.com
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
Thanks a lot for the reply.
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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---