![]() |
Detecting Browsers with JavaScript
Many times we need to write certain parts of our script according to the browser, i.e. we need to detect the browser. Here's a snippet of how to do it.
Code: JavaScript
|
Re: Detecting Browsers with JavaScript
how to embed this in html page
|
Re: Detecting Browsers with JavaScript
Inside a <script> tag of course, or you can put it in a external javascript file and call that file in your HTML page.
|
| All times are GMT +5.5. The time now is 02:22. |