Code Simplified – Viral Sarvaiya

Code Simplified – Viral Sarvaiya, Web Developer Friends, dot net Developer, Sql Server Developer

Check browser’s javascript enable or disable

Posted by Viral Sarvaiya on June 11, 2009

to check the java script is enable or disable, it is too easy use

<noscript>

<meta http-equiv=’refresh’ content=’0;url=http://yoursite.com/yourdirectory/yourfile.htm’/>

</noscript>

here, if the java script is disable then it redirect to you site’s error page.if u want to write any thing instead of redirect then you can write any HTML tag with you message in .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: