Hi,
Here is my function. When a submit button has been clicked it write the value to a hidden field in my form. Later I want to retreive this value. Below is my function.
Here is part of my form.
Here is where I retreive the value. I did the debug in here. 'strnewdue' is blanks.
The function and the form are in the same asp. The statement to retreive is in another asp which I use #include to include it on the first asp.
Please help!!
Thanks in advance
Here is my function. When a submit button has been clicked it write the value to a hidden field in my form. Later I want to retreive this value. Below is my function.
Code:
function myfunction(value) {
if(value.length<=0)
return false;
else
{
[COLOR=red]
// there is value in here when I debug
// document.write(value);[/color]
document.f1.varnewdue.value = value;
return true;
}
}
Code:
<table cellspacing="0" cellpadding="0" border="0" bgcolor="#edecd7" width="90%">
<form action="mv_invholdlist.asp?" name="f1" method="post">
<input type="Hidden" name="pagesize" value="<%=pagesize%>" > [COLOR=red]
<input type="Hidden" name="varnewdue">[/color]
<tr>
Code:
strnewdue = trim(request("varnewdue"))[COLOR=red]
// response.write(strnewdue)[/color]
Please help!!
Thanks in advance