Yes, you said you need help. Tell us what specifically isn't working and what is happening instead. If you're not getting the desired output, what are you getting? Does it throw any errors? If so, what errors? TellTheDetails.
Do you really have a <bd> tag in your html that you are referencing with $('bd')?
Joined: Dec 31, 2008
Making it more clearer:
In the below XML i have the Category "Sales" 2 times and "Products" 4 times. I need to group those Categories as single "Sales" and "Products" and the corresponding number of URLMenu should come under those single categories.
Also note that "Products" has subcategory "International" in XML and it also needs to be listed.
Could you please help me in re-writing the JQuery function to support the expected result?
As of now i am getting all the XML "category" with the number of times the "Products" and "Sales" are present.
I am new to JQuery and have been breaking my heads for days. Your help will be highly appreciated.