the problem is that i have hidden the input fields regarding the replace no's of the parts with this line of code
Expand|Select|Wrap|Line Numbers
- document.getElementById('bgrp1').style.visibility='hidden';
- document.getElementById('lable_rp_no1').style.display='none';
- document.getElementById('rp_no1').style.display='hidden';
[HTML]
<tr><td class="add" id="bgrp1"><div align="left" id="lable_rp_no1">Replace No1:</div></td>
<td width="150" align="Center" valign="Center"><div align="left" id="div_rp_no1" class="addinp"><input name="rp_no1" type="text" size="25" ></div></td>
</tr>
[/HTML]
the problem is that it runs absolutely perfect in the internet explorer, and hides the input fields also ,but when i try to run it in the FIREFOX it gives me error on the line
document.getElementById('rp_no1').style.display='h idden';
and the error is
Expand|Select|Wrap|Line Numbers
- Error: document.getElementById("rp_no1") has no properties
- Source File: http://localhost/ashar/js/Ad_stk2.js
- Line: 346
regards,
omer