Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12508 closed bug (notabug)

Bug on finding by ID

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:


I use this $("#[id='lbl']").html(""); for validation of forms on mandatory fields, this command use for reset error labels that there ID begin with 'lbl'. I debug my project and got this error: "Microsoft JScript runtime error: Syntax error, unrecognized expression: #[id='lbl']" The bug exists on version 1.8.0 but not on version 1.7.2

On version 1.7.2 I work as always work with my forms

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

Your selector is definitely not valid. I think you may have been trying to do this. http://jsfiddle.net/vRwvQ/2/

In any case, please ask for help on a forum.

comment:2 Changed 10 years ago by anonymous

Thanks for this. Sorry for opening this bug

Note: See TracTickets for help on using tickets.