chenghong / domassistant

Automatically exported from code.google.com/p/domassistant
1 stars 0 forks source link

$(css selector) doesn't work in XHTML (application/xhtml+xml) #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create .xhtml file with li elements (ex.
http://piskorz.info/poligon/xhtml/domas-xhtml.xhtml) - can be any element
2. alert($('li')[0])

Should alert reference to the first li in document, but it returns
"undefinied".
DOMAssistantCompressed-2.7.js, Firefox 2, Opera 9,  on Windows.

Pseudo XHTML (send as text/html) works fine:
http://piskorz.info/poligon/xhtml/domas-html.html

Original issue reported on code.google.com by paul.pis...@gmail.com on 21 May 2008 at 3:56

GoogleCodeExporter commented 9 years ago
This has been addressed and will be in an upcoming 2.7.1 release. Fixed version 
can
be downloaded from the nightly build:
http://code.google.com/p/domassistant/source/browse/trunk

Original comment by robny...@gmail.com on 21 May 2008 at 4:04

GoogleCodeExporter commented 9 years ago
Thank you.

Original comment by paul.pis...@gmail.com on 21 May 2008 at 4:18