Tag Archives: javascript

JavaScript : Detect Browser

In this post we will know how to know on which browser the application is running. In some real time cases we need to add the code depending on the browser compatibility in such cases we can use the below java script code to detect browser and add our code. We need to add the… Read More »

Open a link in New Window using JavaScript

<script language=”JavaScript”> function openNewWindow() {window.open(“http://www.google.com”,”,’width=1024,height=768′); } </script>  And the following in the link: <a href=”javascript:openNewWindow();”>return to front page</a>