Skip to main content

Bug Tracker

Side navigation

#12508 closed bug (notabug)

Opened September 11, 2012 10:03AM UTC

Closed September 11, 2012 12:34PM UTC

Last modified September 11, 2012 02:34PM UTC

Bug on finding by ID

Reported by: hanan@mstudio.co.il Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:
Description

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

Attachments (0)
Change History (2)

Changed September 11, 2012 12:34PM UTC by dmethvin comment:1

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.

Changed September 11, 2012 02:34PM UTC by anonymous comment:2

Thanks for this.

Sorry for opening this bug