Hello,
This might be a fairly easy task but I am having trouble finding a simple description on how to implement this. I have an xml path (has a url and that url is updated on this external file). I want to be able to setup javascript to get that url from that xml path and assign it to a variable so that I can create a second variable that merges the first value with other other values
example:
xml path:
the data in that path is:
<links>
<link name="123" ref="</links>
I want to merge the ref value with other values:
with ?var1=123&var2=abc
final url
Can someone help, I think the main question has to do with just getting the data out of the xml into a javascript variable.
thanks in advance for your help
This might be a fairly easy task but I am having trouble finding a simple description on how to implement this. I have an xml path (has a url and that url is updated on this external file). I want to be able to setup javascript to get that url from that xml path and assign it to a variable so that I can create a second variable that merges the first value with other other values
example:
xml path:
the data in that path is:
<links>
<link name="123" ref="</links>
I want to merge the ref value with other values:
with ?var1=123&var2=abc
final url
Can someone help, I think the main question has to do with just getting the data out of the xml into a javascript variable.
thanks in advance for your help