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);