Treehouse: 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?



    # October 27, 2010 at 7:14 am

    Well there is in jQuery…

    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.