dadamssg Posted May 22, 2009 Share Posted May 22, 2009 im trying to make a link a submit button for a form....how the heck do i do this? i have a feeling its fairly simple. ...just not that good at js. any help would be awesome! Quote Link to comment https://forums.phpfreaks.com/topic/159212-make-a-link-a-submit-button/ Share on other sites More sharing options...
Ken2k7 Posted May 22, 2009 Share Posted May 22, 2009 Give it an onclick attribute that submits the form. Quote Link to comment https://forums.phpfreaks.com/topic/159212-make-a-link-a-submit-button/#findComment-839688 Share on other sites More sharing options...
Axeia Posted May 22, 2009 Share Posted May 22, 2009 Better way would be to style the button to look like a link (for accessibility reasons) Quote Link to comment https://forums.phpfreaks.com/topic/159212-make-a-link-a-submit-button/#findComment-839760 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.