[Logo]
Forums Register Login
captcha is reloading
if i select the country value choose other. my captcha is reloading what is the problem can any body give solution

my registration.jsp

java script
function fnchange()
{
if(document.frmregistration.cmbstate.value=="oth")
{
document.getElementById("txtother").style.display="block";
}
else
{
document.getElementById("txtother").style.display="none";
}
}

function fnchange1()
{
if(document.frmregistration.cmbcountry.value=="oth")
{
document.getElementById("txtcountry").style.display="block";
}
else
{
document.getElementById("txtcountry").style.display="none";
}
}

<tr>
<td align="left" valign="middle">State <span class="man_field">*</span></td>
<td align="left" valign="middle">
<select name="cmbstate" class="cmbbox" onchange="fnchange();">
<option value="0">Select</option>
<option value="ap">Andhra Pradesh</option>
<option value="ar">Arunachala Pradesh</option>
<option value="assam">Assam</option>
<option value="bi">Bihar</option>
<option value="hp">HimachalaPradesh</option>
<option value="jk">Jammu And Kashmir</option>
<option value="jar">Jharkand</option>
<option value="kar">KarNataka</option>
<option value="ker">Kerala</option>
<option value="kol">Kolkatta</option>
<option value="mp">MadhyaPradesh</option>
<option value="mah">Maharastra</option>
<option value="or">Orissa</option>
<option value="pun">Punjab</option>
<option value="raj">Rajasthan</option>
<option value="tn">TamilNadu</option>
<option value="up">UttarPradesh</option>
<option value="oth">Other</option>
</select>
</td>
</tr>

<tr id="txtother" style="display:none">
<td>  </td>
<td align="left" valign="middle">
<input type="text" name="txtstateother" value="" class="textbox2">
</td>
</tr>



<tr>
<td align="left" valign="middle">Country <span class="man_field">*</span></td>
<td align="left" valign="middle">
<select name="cmbcountry" class="cmbbox" onchange="fnchange1();">
<option value="0">Select</option>
<option value="af">Afghanistan</option>
<option value="chn">China</option>
<option value="jap">Japan</option>
<option value="in">India</option>
<option value="pak">Pakistan </option>
<option value="oth">Other</option>
</select>
</td>
</tr>
<tr id="txtcountry" style="display:none">
<td>  </td>
<td align="left" valign="middle">
<input type="text" name="txtcountryother" value="" class="textbox2">
</td>
</tr>



<tr>
<td align="left" valign="middle" >Enter these above Character <span class="man_field">*</span><br/>
</td>
<td align="left" valign="middle"><input type="text" name="txtverificationcode" class="textbox2" value="" maxlength="50" ></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="btnSubmit" class="button2" value="Submit"> <input type="reset" name="btnReset" class="button2" value="Reset">
</td>
</tr>






tahnks in advance
Please do not post the same question more than once.

Reply locked
This thread has been viewed 999 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 02:48:19.