In Internet Explorer 6 and 7 -- I get an "Object doesn't support this property or method" error message when I try to cal the following function:
function Edit(IA)
{
var form = document.forms['frmDefault
'];
form['ID'].value = IA;
form.action = 'index.php?p=admin_admins_
add';
form.submit();
}
This function works fine in Firefox, however. How might I update this JavaScript function so that it works in both Firefox and Internet Explorer?
Thanks in advance,
- Yvan
Start Free Trial