Selecting the value of the grid and that should be appear in the grid row
2 Answers
Try this out,
JQuery code
<script language="javascript" type="text/javascript" src="jquery-1.8.2.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$('#selectbox').change(function(){
var val = $(this).val();
$('.changedValue').html(val);
});
});
</script>
HTML code
<form>
<select name="selectbox" id="selectbox">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</form>
<table width="400" border="1" cellpadding="2" cellspacing="2">
<tr>
<td>Changed Value</td>
<td class="changedValue"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
Comments
you can create grid with jQuery Check below link for grid view with jQuery..
1 Comment
Vinoth Kumar
I think the third link is broken
<table>and I'm not sure what is it that you're asking here.