Click here to Skip to main content
15,749,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a xml file and i am accessing its element on my page by reading that xml file using javascript function. In the desc tag i have p1 and p2 tag and i want that this tags are shown according to the condition or parameter pass to javscript funct,for ex:
when x=1 is passed through parameter then para 1 is shown and if x=2 then para2 .........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900