Quantcast
Channel: how to get the value of textbox in jquery - Stack Overflow
Viewing all articles
Browse latest Browse all 5

how to get the value of textbox in jquery

$
0
0

i want to get the value of textbox on the basis of its class and id. this what i have done but it is not working for me.although i can set the value of textbox by doing this.Please help me out

<script>....var count=1;var check=$(".AssVal,#"+count).val();....<script><input type="text" value="0" class="AssVal" id="1"  maxlength="20" size="20" />

This is how i set the value in textbox

var check=$(".AssVal,#"+count).val(123);

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images