Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Submit button on DWMX
Old 08-03-2005, 02:26 PM Submit button on DWMX
VegaLA's Avatar
Skilled Talker

Posts: 64
Trades: 0
Hi all,
i'd like to use some text to 'submit' the form on my webpage rather then have the submit button (that looks out of place on the page) but i'm having problems getting the text to behave as a submit button, can anyone offer a solution to this please ?

Thanks in advance,
Mitch....
VegaLA is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2005, 04:25 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,390
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use javascript on the text parent container

HTML Code:
<span style="cursor:pointer;" onClick="forms['this_form'].submit()">Submit Form</span>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 08-03-2005 at 04:26 PM.. Reason: missed character
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-04-2005, 12:59 PM
VegaLA's Avatar
Skilled Talker

Posts: 64
Trades: 0
Thanks, but it does'nt seem to be working.
Here is the exact code i'm adding, not sure if I got it completly right but when the mouse hovers over the text it does turn to a pointer but clicking on it does'nt so anything.

<td><span style="cursorointer;" onClick="forms.form1.submit()">Submit Form</span></td>

The original code I had is below, the submit button as you would usually expect and this seems to work fine but the client would rather have text saying 'log in' than the standard button DWMX provides you with.

<input type="submit" name="Submit" value="Submit">
VegaLA is offline
Reply With Quote
View Public Profile
 
Old 08-04-2005, 01:05 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,390
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
re-read the code and set the code for the onClick correctly.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Submit button on DWMX
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54661 seconds with 12 queries