flemingmike Posted June 16, 2010 Share Posted June 16, 2010 hello all, was wondering if i can do this: function do_your_thing(){ alert('Help!'); } <a onclick='do_your_thing()'>click me</a> Quote Link to comment https://forums.phpfreaks.com/topic/204953-function-question/ Share on other sites More sharing options...
Pikachu2000 Posted June 16, 2010 Share Posted June 16, 2010 What happened when you tried it? Quote Link to comment https://forums.phpfreaks.com/topic/204953-function-question/#findComment-1072993 Share on other sites More sharing options...
flemingmike Posted June 16, 2010 Author Share Posted June 16, 2010 nothing Quote Link to comment https://forums.phpfreaks.com/topic/204953-function-question/#findComment-1072994 Share on other sites More sharing options...
Maq Posted June 16, 2010 Share Posted June 16, 2010 Works for me. Quote Link to comment https://forums.phpfreaks.com/topic/204953-function-question/#findComment-1072998 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.