<script language="javascript" type="text/javascript"> function stopEventPropagation(e) { if (!e) { e = window.event; } if (!e) { return false; } /* if i am removing or comment alert('bug') then the code is not working as aspectated else it is working well. */ alert('bug'); e.cancelBubble = true; e = null; if (e.stopPropagation) { e.stopPropagation(); } } function assignEventsToCheckboxes(oboutGrid) { // disable the record selection feature by clicking on the records var sRecordsIds = oboutGrid.getRecordsIds(); var arrRecordsIds = sRecordsIds.split(","); for (var i = 0; i < arrRecordsIds.length; i++) { var oRecord = document.getElementById(arrRecordsIds[i]); oRecord.onmousedown = function (e) { stopEventPropagation(e); }; oRecord.onclick = function (e) { stopEventPropagation(e); }; } } </script>
<body onload="assignEventsToCheckboxes(ogrdWorkOrder);">
setTimeout()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)