It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

bypass values between pages

bypass values between pages

Postby micheal on Fri Aug 08, 2008 4:14 pm

hello ,


i'm developping a page in asp.net(c#) which contain a table when i click on the row i pass the data inside that row as variables to another page, using javascript in this way

Code: Select all
valOne = theRow.getElementsByTagName("td")[0].innerHTML;

then i redirect it by windows.location('url?va="+valone');

but now i need to pass varibales without the querystring, i need to bypass them, so i tried the POST method and here where i need help

i already have a form with

<form id="Form1" method="post" action='anotherPage.aspx' runat="server">

i tried to when i click the row i add the :
Form1.innerHTML+="<input type='hidden' name='valone' value='"+ valone +"'>";

it's added but i'm not redirecting to the other page

Please i'm despert for help and i'm new in javascript, if somebody can help

thank you in advance
regards
micheal
 
Posts: 2
Joined: Fri Aug 08, 2008 2:07 pm

Who is online

Users browsing this forum: No registered users and 2 guests