i am doing something like below... is it wirte.....
var $table = $('#orderTable'),
$tr = $table.find('tbody tr');
var menuArr = [];
$tr.each(function (i, el) {
if (i > 0) //skip first tr
{
var menu = {
"Menu": $(this).find('td.cartHeaderRow').html(),
"Qty": $(this).find('td input#txtShopQty').val(),
"Price": $(this).find('td.totalCalPrice').html()
}
menuArr.push(menu);
}
how can i access the menuArr.Menu or menuArr.Qty in webmethod
my ultimate aim is to store this in a session and access it on other page... am i going writ way??