maganti.smurthy
11-24-2011, 07:40 AM
Hi all !
I have written code for select options one. In that option one of the option is to select others. When i select others automatically the cursor should goto others text area box. Any suggessions please.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Smartcard Gen2</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script type="text/javascript" charset="utf-8">
var notEmpty=function(){
document.write("Problem Submitted, Thank You");
window.open(list.html);
}
</script>
</head>
</head>
<body>
<div class="container">,
<div class="topbar">
<p>Report a Problem<a href="list.html" class="button back black"><span></span> ATM Details</a></p>
</div>
<div class="content">
<h6>Find ATMs by Address:</h6>
<div class="box">
<table width="95%" border="0" align="center" cellpadding="8" cellspacing="0">
<tr>
<td width="33%" align="right" valign="middle"><strong>Problem :</strong></td>
<td>
<FORM ACTION="#" NAME=latin>
<SELECT NAME="words" >
<option value="ATM NOT PRESENT">ATM not present</option>
<option value="ATM IS BROKEN">ATM Broken</option>
<option value="MASTERCARD IS NOT ACCEPTED">ATM doesnot accept MasterCard</option>
<option value="ATM IS NOT ACCESSIBLE">ATM is not accessible</option>
<option value="others" id="others">Others</option>
</select>
</FORM>
</td>
</td>
</tr>
</table>
<div class="box">
<table width="95%" border="0" align="center" cellpadding="8" cellspacing="0">
<tr>
<td width="33%" align="right" valign="middle"><strong>Other :</strong></td>
<td width="67%" align="left" valign="top"><input name="textfield3" type="textarea" rows="25" coloumns="15" id="textfield3" placeholder=" " /></td>
</tr>
</table>
</div>
<a href="#" class="transactions" onclick="notEmpty();">Submit</a></div>
</div>
</body>
</html>
I have written code for select options one. In that option one of the option is to select others. When i select others automatically the cursor should goto others text area box. Any suggessions please.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Smartcard Gen2</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script type="text/javascript" charset="utf-8">
var notEmpty=function(){
document.write("Problem Submitted, Thank You");
window.open(list.html);
}
</script>
</head>
</head>
<body>
<div class="container">,
<div class="topbar">
<p>Report a Problem<a href="list.html" class="button back black"><span></span> ATM Details</a></p>
</div>
<div class="content">
<h6>Find ATMs by Address:</h6>
<div class="box">
<table width="95%" border="0" align="center" cellpadding="8" cellspacing="0">
<tr>
<td width="33%" align="right" valign="middle"><strong>Problem :</strong></td>
<td>
<FORM ACTION="#" NAME=latin>
<SELECT NAME="words" >
<option value="ATM NOT PRESENT">ATM not present</option>
<option value="ATM IS BROKEN">ATM Broken</option>
<option value="MASTERCARD IS NOT ACCEPTED">ATM doesnot accept MasterCard</option>
<option value="ATM IS NOT ACCESSIBLE">ATM is not accessible</option>
<option value="others" id="others">Others</option>
</select>
</FORM>
</td>
</td>
</tr>
</table>
<div class="box">
<table width="95%" border="0" align="center" cellpadding="8" cellspacing="0">
<tr>
<td width="33%" align="right" valign="middle"><strong>Other :</strong></td>
<td width="67%" align="left" valign="top"><input name="textfield3" type="textarea" rows="25" coloumns="15" id="textfield3" placeholder=" " /></td>
</tr>
</table>
</div>
<a href="#" class="transactions" onclick="notEmpty();">Submit</a></div>
</div>
</body>
</html>