• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved]show button if jscript is disabled

#1
[eluser]diasansley[/eluser]
i have a drop down(javascript). i need the following

*only when javascript is disabled the submit button should show!
*the user then selects a drop down option and clicks submit.
else if javascript is enabled then the button should be hidden and the dropdown should perform an onchange event.



Thanks

#2
[eluser]SPeed_FANat1c[/eluser]
You can make the button visible and put js function that hides the button as soon as it can. The only problem is when page still loads, button can be seen for few seconds. Or longer if connection is slow.

#3
[eluser]eoinmcg[/eluser]
Code:
<noscript>&lt;input type="submit"&gt;&lt;/noscript>

#4
[eluser]diasansley[/eluser]
how do i mark this as an answer!!!

#5
[eluser]vitoco[/eluser]
add "[SOLVED]" on title

#6
[eluser]diasansley[/eluser]
and how do u add that!!!!

Thanks

#7
[eluser]SPeed_FANat1c[/eluser]
I have never done this, but I guess you can edit the title


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.