troubleshooting Question

Simple XML Search

Avatar of johnson_sf
johnson_sfFlag for Afghanistan asked on
JavaScriptPHPXML
3 Comments1 Solution343 ViewsLast Modified:
Hello,

I need to know how to do a simple XML search.  I believe this could be done client side with jquery or javascript.

For example, I would like to be able to click one of several graphics and load the corresponding xml entry.

I am guessing that on the image I would have something like


<map NAME="map1">
<area SHAPE=RECT COORDS="14,15,151,87" onClick="showcd('111')"
onMouseOver="window.status='Michael'; return true">
<area SHAPE=RECT COORDS="162,16,283,85" onClick="showcd('222')"
onMouseOver="window.status='Madonna'; return true">
</map>

Any help or tutorial would be appreciated.  I am assuming I can do this on the client side without PHP??

Thanks!!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros