Thursday, March 24, 2016

[Rails] Autofill text fields depending on dropbox value in Rails

Hi..I want to make some of my text fields to auto fill with zero(0),
when the user selects NA in dropdown.. How can I achieve that? Is there
any rails way to do that??


I have seen lot of jquery to accomplish auto fill values.. I am new to
rails as well as am zero at jquery.. That is why I am looking for a
rails way to do that.

Kindly please someone help me.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3998ecee1179f31afcca090814bdf148%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment