I have a div with an id called #monthlyconfirm_grid. I implemented a jQuery function to control scrolling in a gridview, but it seems to only work in Internet Explorer and not in Chrome or Firefox.
$(document).ready(function () {
var expi = $("#monthlyconfirm_grid").scrollLeft - 2;
var expr = "calc("+ expi +")";
$(".locked").css("left", expr);
});
P.S: I have used
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
to make it work in IE.
Why is it not working in Chrome and Firefox? How can I resolve this issue?