Manal,
You could use the same way to pass the value of a text
box or any other input field like this ...
<input type="text" name="Day">
instead of <select> .. </select>
But if u r passing a lot of values then it is better
to use a form and then use a submit button (<input
type="submit">) or if u have to use javascript then
use document.formname.submit();
Kapil
--- Manal Rayess <m_rayess@h...> wrote:
> Hi;
> I want to pass the value entered by the user in the
> textfiled from one
> page to another, how can I do that?.
> I did similar thing but for drop down list, using
> the following script:
>
> <script>
>
> function abc(Day) {
> location.replace("page2.jsp?myDay="+Day.value)
> }
> </script>
> </head>
> <SELECT NAME="Day">
> <option value="DA">Day
> <option value="01">01
> <option value="02">02
> </select>
> <a href="JavaScript:abc(Day);">link</a>
>