Hi,
I am using the firefox version 2.0.0.3 . I have implemented the web
interface
in php5.2 version. In that interface, I am having the listview with
more than 5000 records. The listview is implemented with the activewidgets2.0
version.
When, i am selecting all the records in the listview (ie) clicking the
check boxes, the page is giving the javascript alert that,
"A script on this page may be busy, or it may have stopped responding.
You can
stop the script now, or you can continue to see if the script will
complete?".
* The above alert is not coming for selecting 1000 records. If the
records are
more that 1000 then the above alert message is automatically coming.
* I am using the code for selecting all the rows.
var Radio= new AW.Templates.CheckBox;
obj.setCellTemplate(Radio, 0);
obj.onHeaderClicked = function(event, index) {
for (i=0; i<5000; i++){
obj.setCellValue('true', 0, i); // setting the check
box as selected for every cell
}
}
* For this, I got the solution that , increase the value of
dom.max_script_run_time by pointing the URL about:config or directly change
the value in prefs.js file.
* This is solving the alert issue. But, I need to set this variable directly
from the code PHP or in javascript.
Is there any way for increasing the script execution time value in PHP or
JAVASCRIPT code? .
Please Help me..............
Mahalakshmi.P