Closed Bug 86672 Opened 23 years ago Closed 23 years ago

I got error when I assigned property to select element.

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 86429

People

(Reporter: kchen, Assigned: asa)

Details

I can added property to text element, radio element, checkbox element, but I 
got error from console when I added property to select element.

At form, onSubmit="onSubmit="this.firstname.optional = true;
			  this.lastname.optional = true;
			  this.address.optional = true;
			  this.checkbox1.optional = true;
		          this.myradio.optional = true;
		          this.myselect.optional = true;
                          return verify(this);"

The error I got is 'Error: uncaught exception:[Exception... "Failure" 
nsresult:"0x80004005(NS_ERROR_FAILURE)" location:"JS frame :: <unknown 
filename>::line 5" data: no]'.


The browser build ID is 2001060703.
Duplicate of "[xpcdom] Cannot set custom JS properties on <select> field objects."

*** This bug has been marked as a duplicate of 86429 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.