Hi Friends,
I am really tired with Chrome , one of my window.open() Stuff work fine in FF and Opera in
Fedora O.S. But Chrome Did not , my code is like:
I think maybe it could be failing inside of the doKeyup method… the best way to find out would be to call getpage() manually with some static values and see if that will work fine.
Another thing to try would be to do a console.log() (if you’re using firebug) or just a simple alert to see what th value of cp actually is in the doKeyup method.
If would also be worth checking that the popup blocker is not blocking it
Hi Friends,
Finally I got the solution , Actually it’s not a serious problem as we think. Simple one,
I just enable popup in Google Chrome in Preferences >> Under the Hood >> Privacy Content Settings >> Features Popups(select) >> Tick Allow all sites to allow pop up,
voila I won 50% …
In our Code , there is a small mistake(my mistake!)
function doKeyup(id,e)
{
if(e == 13) {
var cp = $("table#serverdata tbody tr#container_tr.row_no td:nth-child(7) a#cp").html();
var dc = $("table#serverdata tbody tr#container_tr.row_no td:nth-child(7) a#dc").html();
if(cp != null || dc != null ) {
var firstId = $("table#serverdata tbody tr#container_tr.row_no td:nth-child(1) input[type=checkbox]").val();
}
if(cp != null) {
alert("Enter here");
getpage(firstId,'cp');
return false;
}
Here The Value of cp and dc got in FF and opera, but in Chrome dc got null
eventhough it exist, but the value of cp is set …
it’s problem of chrome to select dc , So I simply use