Click here to Skip to main content
14,695,784 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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??

What I have tried:

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900