Easy A
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 Submit values using other than <input>

View previous topic View next topic Go down 
AuthorMessage
Twerk
Member
Member
Twerk

Posts : 26
Join date : 2011-04-17

Submit values using other than <input> Empty
PostSubject: Submit values using other than <input>   Submit values using other than <input> EmptyWed Jun 29, 2011 8:09 am

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...
Back to top Go down
Stronger
Member
Member
avatar

Posts : 17
Join date : 2011-03-09

Submit values using other than <input> Empty
PostSubject: Re: Submit values using other than <input>   Submit values using other than <input> EmptyWed Jun 29, 2011 8:11 am

Code:

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
Code:

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
Code:

<button type="submit">
Or
Code:

<input type="image" src="path to an image">
Back to top Go down
 

Submit values using other than <input>

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Submit button
» storing the data to database from input panel
» creating formattable text input script
» Are nonbelievers responsible for following Christian values?
» Create Multiple Date Values

Permissions in this forum:You cannot reply to topics in this forum
Easy A :: Submit values using other than <input> Edit-trash Useless :: Trash-