I am using JQuery.
I have got one link as given below:
<li><a href="http://staging/english/Skywards/skywards.aspx" id="skywardsTopLoginLink">Login</a></li>
Now I want to check on page load whether Flash/javascript is installed or disabled and according to output the Login link will work, I mean if flash/javascript is disabled or not installed then it will go to the above Href else it will open jQuery model dialog box for login functionality
To load and check flash version etc, use and load SWFObject like this (it’s just an example, check their documentation for more details) :
And add a
<noscript>tag in case JS isn’t activated.Example about using this tag here.
That’ll make your code like this :
Be aware that people w/o JS will see both messages.