Grow your CSS skills. Land your dream job.

Calling Javascript When Radio Button is Checked

  • # October 25, 2010 at 2:52 pm

    Hey Guys,

    I’m trying to call my javascript when my Radio Button is checked, at the moment I’ve got it calling the javascript onClick, is there any way to make it call the javascript when the radio button is checked, say when I refresh the page?

    Buying
    Renting

    Thanks.

    Rob
    # October 27, 2010 at 7:14 am

    Well there is in jQuery…

    http://api.jquery.com/checked-selector/

    in raw JS – maybe ‘onChange’ would work?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".