Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5009 closed bug (invalid)

[validate] option witout no value crashes in i.e.

Reported by: hasantayyar Owned by: joern
Priority: minor Milestone: 1.4
Component: web Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

with Validation plugin this cause a crash in i.e. (I've tested in i.e. 8)

<option>text</option>

I debugged the script and see that line cuse the srash

(line 890)

case 'select':

var options = $("option:selected", element);

...

so this beacuse of "no value attribute".

If there is no value attribute the form gets the inner text, and the validation should get the inner text, too.

Change History (1)

comment:1 Changed 10 years ago by john

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.