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> 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? 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 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. Link to comment https://forums.phpfreaks.com/topic/204953-function-question/#findComment-1072998 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.