I'm doing a lending rates page. I have a url which, upon entering in a browser, returns a number.
I need to be able to do (in human terms) this:
var x=http://www.wherever.com/assest?cmsid=P-2870159
in the html:
<td>Our rate today is:<var x></td>
So in javascript, I'm just blanking on how I get the value returned from the url to be assigned to a variable that I can document.write the variable into an html file wherever I need the value.
The url stays the same but the number it somehow generates is dynamic.
I don't have full access to where the url is actually hosted.
NOTE: the url above is fictitious but the ?cmsid on is real so that is the proper format.