Hi,
xml:
<category>
<id>1</id>
<title>New Journey</title>
<sub_categories>
<sub_category>
<id>1001</id>
<title>Transport Bus Chatswood</title>
</sub_category>
<sub_category>
<id>1002</id>
<title>Transport Car Parking</title>
</sub_category>
<sub_category>
<id>1003</id>
<title>Transport $1000 subsidy</title>
</sub_category>
</sub_categories>
</category>
This is the thing...
1. i have to fill a select optgroup with its options.
2. Filling the optgroup is okay, but with the options this works well
with firefox:
$("category[title:contains(\'" + $optionGroup + "\')]/...
where optionGroup is the optgroup label taken from the category/title
e.g. "new journey" text from the xml.
3. Look at this link: http://docs.jquery.com/Selectors
i used this $("li[a:contains('Register')]"); method.
4. It works well with firefox but doesn't work at all with IE.
So any idea how can i solve this problem?
Thanks.