dvayne Posted April 28, 2008 Share Posted April 28, 2008 when I click a link it will display a message.. it is possible in javascript? please help me.. Link to comment https://forums.phpfreaks.com/topic/103230-clicking-a-link/ Share on other sites More sharing options...
RichardRotterdam Posted April 28, 2008 Share Posted April 28, 2008 uhm thats kinda vague be more specific. do you want an alert? <a href="javascript:alert('your text sir')" >text </a> Link to comment https://forums.phpfreaks.com/topic/103230-clicking-a-link/#findComment-528806 Share on other sites More sharing options...
GameYin Posted April 28, 2008 Share Posted April 28, 2008 You could have this.. <script type="text/javascript"> function mesg(); ... </script> <a href="javascript:mesg();">text</a> Dunno, I'm a bit new to JS but that should work... Link to comment https://forums.phpfreaks.com/topic/103230-clicking-a-link/#findComment-528811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.