Author |
Topic |
|
redbrad0
Advanced Member
USA
3725 Posts |
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 01 January 2005 : 17:21:19
|
Javascript disabled ? |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 02 January 2005 : 01:00:50
|
Only if they had javascript disabled. And I think it is very few persons who have javascript disabled. |
Support Snitz Forums
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 02 January 2005 : 15:33:23
|
use this preferred method instead:
<a class="LinkButton" href="#" onclick="javascript:document.FormName.submit();">Submit</a>
|
|
Edited by - dayve on 02 January 2005 15:34:15 |
|
|
redbrad0
Advanced Member
USA
3725 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 03 January 2005 : 16:31:41
|
Brad, no it won't, it's just preffered, as Dayve mentioned.
And Dayve, remove the "javascript:" keyword from the onclick. Onclick accepts javascript code so no need to specify that it is javascript.
onclick="document.FormName.submit();" |
Support Snitz Forums
|
|
|
redbrad0
Advanced Member
USA
3725 Posts |
Posted - 03 January 2005 : 17:01:38
|
quote: Originally posted by Davio And Dayve, remove the "javascript:" keyword from the onclick. Onclick accepts javascript code so no need to specify that it is javascript.
onclick="document.FormName.submit();"
Oh great now you tell me after I have replaced all my code |
Brad Oklahoma City Online Entertainment Guide Oklahoma Event Tickets |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 03 January 2005 : 17:12:44
|
You're a web developer. I thought you would have picked that up and not copy and past the code. |
Support Snitz Forums
|
|
|
redbrad0
Advanced Member
USA
3725 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 03 January 2005 : 17:29:13
|
quote: Originally posted by Davio
Brad, no it won't, it's just preffered, as Dayve mentioned.
And Dayve, remove the "javascript:" keyword from the onclick. Onclick accepts javascript code so no need to specify that it is javascript.
onclick="document.FormName.submit();"
yeah, an oversight on my part. |
|
|
|
|
Topic |
|