Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Object does not support this property or method : ERROR -- JAVA SCRIPT

843836Mar 31 2005 — edited May 14 2008
Hi,

whenever Iam changing a value in the drop down box I want to reload my form. So Iam calling the function in the onChange event of my drop down box. But the form is not submitted, it shows Object does not support this property or method as an error.
The code for this placed below..
<html>
<head>
<script language="javascript">

function formSubmit() 
{
document.forms[0].submit();       //or document.regform.submit();
}

</script> 
</head>
<body>

<form method="post" name="regform" action=updatetechinter.jsp>

<select size="1" name="D1" onChange=formSubmit()>
.
.<option>....</option>
.
.
.
</select>
</form>
</body>
</html>

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 11 2008
Added on Mar 31 2005
10 comments
188 views