.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

How to Use Validate Radio Button Using JavaScript

Posted By:NATHAN ISRAEL       Posted Date: October 06, 2012    Points: 40    Category: Javascript    URL:   

How to Use Validate Radio Button Using JavaScript

    <head><title>Test Your Skill Using Alert Box</title></head>
        <script language="JavaScript">
            function alert_one()
                alert("Wrong Try Again");
            function alert_true()
                alert("Correct Well Done");
            <p> 01 . Which tag is use to Insert Javascript In HTML Document.</p>
                <input type="radio" name="tag" value="1_style" onclick="alert_one()"> &lt style &gt <br>
                <input type="radio" name="tag" value="2_style" onclick="alert_one()"> &lt javascript &gt <br>
                <input type="radio" name="tag" value="3_style" onclick="alert_true()"> &lt script &gt <br>
                <input type="radio" name="tag" value="4_style" onclick="alert_one()"> &lt type &gt


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend