toolman Posted November 19, 2014 Share Posted November 19, 2014 Hi, I have the following submit button and would like to change it into a link with a class. <input type="image" alt="Click here to Continue" name="I2" src="altimages/buttons/continue.gif" id="submit"> How would I do this using jQuery? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/292573-change-a-submit-button-into-a-text-link-with-a-class/ Share on other sites More sharing options...
requinix Posted November 19, 2014 Share Posted November 19, 2014 (edited) Does it actually have to be an , or do you only want it to look like a link? And I take it that means you don't want the image anymore and will be using some plain text instead (eg, "Continue")? Edited November 19, 2014 by requinix Quote Link to comment https://forums.phpfreaks.com/topic/292573-change-a-submit-button-into-a-text-link-with-a-class/#findComment-1497032 Share on other sites More sharing options...
toolman Posted November 21, 2014 Author Share Posted November 21, 2014 I would like it to be an actual <a href="#" class="class" ... Quote Link to comment https://forums.phpfreaks.com/topic/292573-change-a-submit-button-into-a-text-link-with-a-class/#findComment-1497177 Share on other sites More sharing options...
cyberRobot Posted November 24, 2014 Share Posted November 24, 2014 So are you asking how to submit a form with an HTML anchor tag? If so, perhaps the following will help: http://www.rockycode.com/blog/submitting-form-href-link-using-jquery/ Quote Link to comment https://forums.phpfreaks.com/topic/292573-change-a-submit-button-into-a-text-link-with-a-class/#findComment-1497485 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.