...

View Full Version : Submit values using other than <input>



ophilium
06-11-2011, 11:18 PM
A friend of mine is using Visual Studio to do some back end for a project of ours. He's not sure how to use <a> to put values into the database and can only do it using <input type="button>. I'm the front end guy and if I can build buttons using <div><a>submit</a></div> or even images wrapped in <a>img.jpg</a> it would give me more flexibility. Is it possible? If possible can you provide a resource...

abduraooft
06-12-2011, 01:29 PM
He's not sure how to use <a> to put values into the database and can only do it using <input type="button>
That type of button is not capable to submit a form, by default. You need to use <input type="submit>, instead

if I can build buttons using <div><a>submit</a></div> or even images wrapped in <a>img.jpg</a> it would give me more flexibility.
I don't understand the issues that you face when using an <input> element, though you may also use
<button type="submit"> Or
<input type="image" src="path to an image">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum