CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS WEBSITE RELATED JAVA SCRIPT DETAILS
    Question :
    How to find the selected radio button immediately using the 'this' variable?
    Category Java Script Interview Questions
    Rating (0.3) By 107 users
    Added on 6/24/2011
    Views 296
    Rate it!
    Answers:

    <script>
    function favAnimal(button) {
    alert('You like '+button.value+'s.');
    }
    </script>
    <input type="radio" name="marsupial" value="kangaroo"
    onchange="favAnimal(this)">Kangaroo
    <br /><input type="radio" name="marsupial" value="Opossum"
    onchange="favAnimal(this)">Opossum
    <br /><input type="radio" name="marsupial" value="Tasmanian Tiger"
    onchange="favAnimal(this)">Tasmanian Tiger



    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is === operator?
    View Answer
    What are undefined and undeclared variables?
    View Answer
    Does JavaScript have the concept level scope?
    View Answer
    What is variable typing in JavaScript?
    View Answer
    What is the difference between undefined value and null value?
    View Answer
    What does undefined value mean in JavaScript?
    View Answer
    How to select an element by id and swapping an image?
    View Answer
    To set all checkboxes to true using JavaScript?
    View Answer
    You have an ASP. NET web application running on a web-farm that does not use sticky sessions - so the requests for a session are not guaranteed to be served the same machine. Occasionally, the users get error message Validation of view state MAC failed. What could be one reason that is causing this error?
    View Answer
    What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?
    View Answer
    What is this keyword?
    View Answer
    What?s a way to append a value to an array?
    View Answer
    How do you assign object properties?
    View Answer
    How do you create a new object in JavaScript?
    View Answer
    What does JavaScript null mean?
    View Answer
    Name the numeric constants representing max, min values?
    View Answer
    How to comment JavaScript code?
    View Answer
    How to hide JavaScript code from old browsers that don't run it?
    View Answer
    To put a "close window" link on a page?
    View Answer
    What looping structures are there in JavaScript?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Java Script Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 2.125 Seconds