How to dynamically read the input fields in jquery?
Answers
Answered by
0
Hi
You can read the value of input fields using val() method
for example:
x = $('input#name').val();
in above line we are reading the value of input field which has id attribute set to "name", and then we are storing that value in variable x
Similar questions