Hi friends,
Is this possible. i want to make link in this list. if you know pls say your suggestion.
<select>
<option>Report</option>
<option><a href="program.php">Billing information</a></option>
</select>
Hi friends,
Is this possible. i want to make link in this list. if you know pls say your suggestion.
<select>
<option>Report</option>
<option><a href="program.php">Billing information</a></option>
</select>
Is not possible in html within listbox
How we make this . if any other possibilities. i need click in list box option this redirect to another page. how can we make this.
Dont give link as you have above, instead of that just call the page whatever you want while selected the item from the listbox. I mean by your php/Ajax code.
<html>
<script lang='javascript'>
function gotolink(link)
{
window.location=link.value;
}
</script>
<body>
<form name='frm'>
<select name=sel onchange='javascript:gotolink(this)'>
<option value='http://www.yahoo.com' />yahoo
<option value='http://www.timesofindia.com' />times of india
</select>
</form>
</body>
</html>
Really thanks ....
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.