0
itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)}
    else // new item
    {olditem =  itemlist[item_num].quan
    itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url);
    
    items_ordered = item_num
    item_num = item_num + 1
     }

The above code is in javascript.
the value of 'itemlist' is set whenever i click on additem in different html pages. I want to pass this itemlist values to default.aspx.cs so that it can display a confirmation page with all these values. Can you tell me what code i have to use in default.aspx.cs
I tried using hidden variable in the html page which had the above java script n pass the hidden value to default.aspx.cs. But this did not work out for me.

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by chandru7
0

Try with querysting,
or Better using ajax to post,

Check here, <URL SNIPPED>

Edited by peter_budo: Keep It On The Site - Posts must contain actual content and substance and cannot simply be external links.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.