View Full Version : Problem with default value in the inputBox

Oct 21st, 2008, 08:41 AM
hi all,

I have problem regarding the default value in the input box
it doesnt visible when page is loaded.
see the code.

<table border="1">
<div id ="uni" style="display:none">
<table border="1">
<td><input type="text" name="uni_uname" value="my1"></td>
<td><input type="password" name="uni_pass" value="my1"></td>
<tr ><td>
<div id="bi" style="display:none">
<table border="1">
<td><input type ="text" name="bi_i_uname" value="my1" ></td>
<td><input type="password" name="bi_i_ipass" value="my1"></td>
<td><input type ="text" name="bi_o_uname" value="my2" ></td>
<td><input type="password" name="bi_i_ipass" value="my2"></td>

and i also have dropdown <select> box ,within that two options are there
one is unidirection and other is bidirection authentication .

when i select unidirection option from that external script is called and <div id="uni" >
is visible and <div id="bi" >is hide .
if <bidirection> then vice versa.

whithin that external script i have used the


but i have problem in default value in "bi_o_uname " and "bi_o_pass" input box
when page is loaded that values are invisible,but in the source that values are there.

does anyone know why this happens?


Oct 21st, 2008, 05:44 PM