scvinodkumar Posted August 13, 2009 Share Posted August 13, 2009 i have a xml file like ths <tags> <a href="http://www.roytanck.com/tag/150/" class="tag-link-66" title="2 topics" rel="tag" style="font-size: 20pt;" color="0xff0099">$150</a> <a href="http://www.roytanck.com/tag/3d/" class="tag-link-39" title="1 topics" rel="tag" style="font-size: 8pt;">3D</a> <a href="http://www.roytanck.com/tag/api/" class="tag-link-54" title="2 topics" rel="tag" style="font-size: 9.55556pt;">API</a> </tags> using javascript i need to display the url from the above xml. how to do this. please help me Quote Link to comment Share on other sites More sharing options...
haku Posted August 13, 2009 Share Posted August 13, 2009 Combine getElementsByTagName() with getAttribute() Quote Link to comment Share on other sites More sharing options...
scvinodkumar Posted August 13, 2009 Author Share Posted August 13, 2009 sorry, i am new to xml, could u elaborate it if possible Quote Link to comment Share on other sites More sharing options...
haku Posted August 13, 2009 Share Posted August 13, 2009 getElementsByTagName() getAttribute That and google should be enough for you to figure it out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.