I am making my application to run only on chrome by using below code,
if($.browser.chrome){
/* code if it is chrome */
}
else{
alert("please use google chrome browser");
}
But I am not able to do it with this code. Any help would be very appreciated. Thanks in advance.