|
|||||||
| JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...) |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hello all,
I got the following script ------------------------------------------------------------- <body onload="fix_tbl()"> <table id="cTbl"> ... </table> <table id="rTbl"> ... </table> <script language="JavaScript"> function fix_tbl() { element_name = document.getElementById("cTbl"); element_name2 = document.getElementById("rTbl"); element_name2.style.height=String(element_name.style.height+1500)+" px"; //alert(element_name2.style.height+" --"); } </script> ------------------------------------------------- Now, this is working in IE, Opera but not in firefox( ).can some one tell me what am i doing wrong??? Thanks in advance. |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|