| Author |
If javascript disabled.
|
Sanjay Saxena
Ranch Hand
Joined: Dec 12, 2001
Posts: 81
|
|
I need your help. I have a requirement wherein I have to call a javascript function for the href on my screen because I have to append the url with an indicator and on the basis of the value of indicator, next page will be rendered. I did so. It works fine. Now if javascript is disabled then it doesn't work as javascript function will not be called. For that I'm keeping a hidden field with original value jsDiabled = "FALSE" and setting its value to jsDisabled="TRUE" in <NOSCRIPT> tags, and hence this value is passed to all the pages (thru a common include) and I have given a condition that if jsDisabled is true don't call javascript, they rather call original url (without appending the indicator as I said before). This works fine if I'm submitting the page as the hidden jsDisabled is available as part of request, but.. if I have links then it fails. So, can anybody help me as how should I handle it. I'm not supposed to use session. Thanks in advance. Sanjay
|
 |
 |
|
|
subject: If javascript disabled.
|
|
|