On Feb 1, 2012, at 4:52 AM, sudhir singh tomar wrote:

> Hi Friends
> somebody help me,
> 
> I have one pop-up window there one submit button if i submitting that
> button twice or thrice it save the value upon your submitting button
> so please give me some suggestion

Are you trying to stop multiple clicks on the button? Use the :disable_with 
option on the submit element:

<%= f.submit :disable_with => 'Saving...' %>

Walter

> 
> how can i solve this problem
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to