After much digging around I came across:
http://developer.yahoo .com/javascript/howto-proxy.html
Works a treat!!
User Profile
Collapse
-
Reading an external page response over HTTPS?
I know that an XML HTTP Request won't work to an external site.
Is there some other way that I can make a (different/other/any) request to this (HTTPS) site:
https://secure.logmeinr escue.com/SSO/GetLoginTicket. aspx?SSOID=monk ey&CompanyID=11 11&Password=mon key
and process the returned info?
I'm using xampp backend locally.
LogMeIn provide ASP code which can handle it but that's no good to me.... -
Cheers :D
Works a treat, it came to me in the shower, can't believe it escaped me.
It was a smaller part of a large ajax/json thing.
Thanks again!Leave a comment:
-
Accessing JSON Property
I have the following JSON obj/code:
...Code:var json_logs = { "countries": [ "US","AU"], "US":{"num_calls":"555","time":"432"}, "AU":{"num_calls":"212","time":"233"} } var call = json_logs.evalJSON(); for(i=0;i< call.countries.length; i++){ -
Solved it by making the second for statement:
Code:for(j=0; j<img_lib[img_lib.sections[i]].length; j++){ alert("Do stuff"); }Leave a comment:
-
Use variable contents in object?
Hi,
I'm trying to use what is held in a variable to get to an object property:
img_lib.section s is an array containing a varying number of strings - eg "Category1","Ca tegory2" etc
img_lib.Categor y1 is an array that contains a varying number of strings
In the second for statement I need to compare j to the length of the img_lib.* array as retrieved from img_lib.section s[i]... -
Dynamic variable name - how? - is there an equivalent to phps $$var
I want to be able to create variables named from the values stored in an array.
I can do this in php with the $$var as described here: http://www.thescripts. com/forum/thread468141.ht ml
if I have an array:
var animals = new array("emu","ka ngaroo","wallab y");
how do I create new variables based on what's in that array.
I feel like something very simple...
No activity results to display
Show More
Leave a comment: