![]() |
| |||||||
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hi, Is there easy way to dispaly the value of a radio button when it is clicked? Thanks, theChris Last edited by richyrich; May 6th, 2008 at 11:58 AM. Reason: Removed [SOLVED] from title |
| Sponsored Links |
| ||||
| You can have such code: Code: <script language="javascript" type="text/javascript">
<!--
function displayValue()
{
for (var i = 0; i < document.form1.radiobut.length; i++)
{
if (document.form1.radiobut[i].checked)
{
var display = document.form1.radiobut[i].value;
alert(display);
}
}
}
//-->
</script>
__________________ jmurrayhead Did I help you out? Make me popular by clicking the icon!If you found a post helpful, please click the button in the lower right-hand corner of the post.Powered by ASP.Net |
| ||||
| Not quite sure what you want to do--display something to the user when he/she selects one choice among several? Would this be to confirm that the choice has been made? Usually just the black dot in the option selected is taken as the indication that the choice has been made. Or am I missing your point? |
| |||
| Quote:
|
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
| Sponsored Links |
| ASP.NET Resource Index a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer. Free Web Directory Including Chats and Forums Resources, Offer automatic, instant and free directory submissions. | URLZ Web Directory URLZ Web Directory Free Web Directory - Add Your Link The Little Web Directory | Free Web Directory Pegasus free web directory is a free directory organised by categories. Web Directory & SEO Services dirroot web directory |