jana Posted September 28, 2006 Share Posted September 28, 2006 can anyone tell me how to bring a message box in a webpage(HTML) after clicking submit button. Link to comment https://forums.phpfreaks.com/topic/22347-help-reagrding-message-box/ Share on other sites More sharing options...
fenway Posted September 28, 2006 Share Posted September 28, 2006 You'll need an onclick handler on the submit tag... I assume you mean "after" clicking but before submitting? Link to comment https://forums.phpfreaks.com/topic/22347-help-reagrding-message-box/#findComment-100300 Share on other sites More sharing options...
FrOzeN Posted September 29, 2006 Share Posted September 29, 2006 [code]<input type="submit" value="Name of button" onClick="javascript:alert('You clicked this button!');" />[/code]That will cause a message box to popup when a user clicks on the button. Link to comment https://forums.phpfreaks.com/topic/22347-help-reagrding-message-box/#findComment-100725 Share on other sites More sharing options...
Daniel0 Posted October 1, 2006 Share Posted October 1, 2006 More like a JavaScript question, but just do what FrOzeN said. Link to comment https://forums.phpfreaks.com/topic/22347-help-reagrding-message-box/#findComment-101743 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.