S
soren625
I have searched this (and other) groups extensively, in addition to the
clj FAQ and the Web, and (to my surprise) this question doesn't come up
as often as I thought it would. Maybe this is because either is
patently impossible or I am not searching for the right thing. If
either of these is the case, of course, please let me know.
What I am trying to do is grab a little snippet of data from a remote
page based on user input in a form. Take a look at this page:
http://www.qrz.com/kb2gsd
What I want to do is: when a user types the callsign (in this case,
KB2GSD) into a form field, I want to execute an XPath query via
Javascript to automatically complete the Name, Location, etc from a web
page like the one listed above.
I can compose the requisite XPath query without a problem, and I'm
pretty sure I can create the code to initiate the query, but I'm not
sure how (if it's even possible) to execute such a query on a remote
page. I am somewhat familiar with the document.evaluate() method, but
is there a way to "evaluate" a page other than the one currently
loaded?
Thanks for reading and thanks for a reponse if you're able to help.
PB
clj FAQ and the Web, and (to my surprise) this question doesn't come up
as often as I thought it would. Maybe this is because either is
patently impossible or I am not searching for the right thing. If
either of these is the case, of course, please let me know.
What I am trying to do is grab a little snippet of data from a remote
page based on user input in a form. Take a look at this page:
http://www.qrz.com/kb2gsd
What I want to do is: when a user types the callsign (in this case,
KB2GSD) into a form field, I want to execute an XPath query via
Javascript to automatically complete the Name, Location, etc from a web
page like the one listed above.
I can compose the requisite XPath query without a problem, and I'm
pretty sure I can create the code to initiate the query, but I'm not
sure how (if it's even possible) to execute such a query on a remote
page. I am somewhat familiar with the document.evaluate() method, but
is there a way to "evaluate" a page other than the one currently
loaded?
Thanks for reading and thanks for a reponse if you're able to help.
PB