Displaying Textual Data from a remote webserver's jQuery.getJSON() script
I'm working on a personal project to display data from a remote server,
the HTML code contains the something like the following:
<script>
jQuery.getJSON("http://someurl.com/something.cgi?
AJZ=1&STOCK=S",
function(data) {
if (data.information[0]) {
var returnHTML = "<table style=\"border: 1px solid
#E0E0E0;border-collapse: collapse;\"
It works fine on the remote server that calls the script, but I'm trying
to just copy the data fields (they are 4 or 5 lines of textual data). I've
attempted to write a simple perl script with use LWP::UserAgent and
HTTP::Request::Common to fetch it to a html page, but the script data
obviously needs a browser to execute.
Anyone have any tips on how to accomplish this?
No comments:
Post a Comment