Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12549 closed bug (notabug)

Button with a long id not found through jquery selector

Reported by: bgrab@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:

Description

Button with a long id not found through jquery selector

Change History (2)

comment:1 Changed 7 years ago by bgrab@…

Code posted on: "http://jsfiddle.net/TY2ft/"

comment:2 Changed 7 years ago by jaubourg

Resolution: notabug
Status: newclosed

You have to escape the points: http://jsfiddle.net/TY2ft/1/

Your selector without the escaping will get the element:

  • with id "mlb_http_3A_2F_2Fwww"
  • AND has the class "vorlesungen"
  • AND has the class "uzh"
  • AND has the class "ch_2FHS12_2Flehrangebot_2Ffak-50000001_2Fsc-50306474_2Fcga-50306474160_2Fcg-50315046"
  • AND has the class "module"
  • AND has the class "html"

See here: http://jsfiddle.net/TY2ft/2/

Note: See TracTickets for help on using tickets.