Thursday, August 22, 2013

Javascript Using radio buttons with onClick() Event

<html>
<script language="JavaScript">
function Oracle()
{
    document.a.display.value="Oracle";
}

function VB()
{
    document.a.display.value="Visual Basic";
}

function Java()
{
    document.a.display.value="Java";
}

function Clear()
{
    document.a.display.value="";
}
</script>
<head>
<title>Radio Button Click</title>
</head>
<body>
<center>

<form name = a align = center>
<font face=calibri>
<h1>Java Script Using radio buttons with onClick() Event</h1><br><br>
<input type=text name = display>
<br><br>
<input type=radio name=r1 value="Oracle" onclick="Oracle();">Oracle</input>
<input type=radio name=r1 onclick="VB();">Visual Basic</input>
<input type=radio name=r1 onclick="Java();">Java</input>
<br><br>
<input type=button value="Reset" onclick="Clear();">
</font>
</center>
</form>
</body>
</html>





9 comments:

  1. I prefer to study this kind of material. Nicely written information in this post, the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues
    java training in tambaram | java training in velachery

    java training in omr | oracle training in chennai

    java training in annanagar | java training in chennai

    ReplyDelete
  2. Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
    python training in pune
    python online training
    python training in OMR

    ReplyDelete
  3. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Devops training in tambaram
    DevOps online Training
    DevOps Training in USA

    ReplyDelete
  4. Very good brief and this post helped me alot. Say thank you I searching for your facts. Thanks for sharing with us!
    Blueprism training in marathahalli

    Blueprism training in btm

    Blueprism online training

    ReplyDelete
  5. Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.

    devops online training

    aws online training

    data science with python online training

    data science online training

    rpa online training

    ReplyDelete
  6. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete