Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in Any Other Business only
Search
Advanced Search
Forums
Today's Posts
New Topics
FAQs
Knowledge Base
Sellerdeck website
Customer Portal
Service Status
Member List
Forum
Discussion Areas
Any Other Business
Announcement
Collapse
No announcement yet.
Div as an Input Button?
Collapse
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
PaulGrimshaw
Registered User
Join Date:
Jan 2006
Posts:
386
#1
Div as an Input Button?
18-Aug-2006, 06:59 PM
Hi,
Is it possible to use a div as a link instead of a button/image when using forms?
Thanks,
Paul.
NormanRouxel
Registered User
Join Date:
Dec 2002
Posts:
11268
#2
19-Aug-2006, 08:17 AM
I'm not too clear what you want here. Are you wanting to use something other than a SUBMIT Button or IMAGE Button to submit a form?
If so you'd have to use some JavaScript within the entity that you want clickable e.g.
<form name="myform" ..... >
<div onclick="document.forms.myform.submit()">Click me</div>
</form>
Norman -
www.drillpine.biz
Edinburgh, U K
/ Bitez, Turkey
Comment
Post
Cancel
PaulGrimshaw
Registered User
Join Date:
Jan 2006
Posts:
386
#3
20-Aug-2006, 04:20 PM
Hi Norman,
Yep - you said it better <s>.
I am off to try your way now. Thanks for your help.
Paul.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment