How to store the value of the textbox in asp.net (csharp ) value in to the javascript array in client side each time when clicking the button .
How to store the value of the textbox in asp.net (csharp ) value in to the javascript array in client side each time when clicking the button .
Suthish NairPosted Dec 27, 2010, 3:36 AM
Santhosh NPosted Dec 27, 2010, 1:53 AM
var myArray = new Array();
myArray[0] = 'soem value';
document.getElementById('hdnCtrl1').value = myArray;