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! 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 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")? 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" ... 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/ 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
Archived
This topic is now archived and is closed to further replies.