Bug Tracker

Modify

Ticket #5009 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

[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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.