I'm a newbie to jQuery and I would like to display a text box below if the user selects "Other". How will I select the individual item in the radio box?
Also, when the user un-clicks the OTHER button then the textbox should be removed.
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function() {
$("$select-car").click(function() {
});
});
</script>
</head>
<body>
<div id="select-car">
<input type="radio" name="car" value="Toyota">GM<br>
<input type="radio" name="car" value="Honda">Ford<br>
<input type="radio" name="car" value="Other" onlick>Other<br>
</div>
</body>
</html>