07-24-2013 07:07 PM
I want to make this simple app wich basically just shows a text and a date, returned by accessing php web page on the web wich takes in 3 parameters in the URL. http://url?=param1¶m2¶m3.
I tried with xmlhttprequest but I just hit the cross domain restriction and I'm looking for an alternate way.
Any ideas ?
Solved! Go to Solution.
07-29-2013 01:51 PM
Here is a sample that demonstrates how to use XHR:
07-30-2013 04:00 PM
07-31-2013 10:28 AM
You can select an element by its class name like this:
var elements = document.getElementsByClassName("table_data"); var num = elements.length; //should only be 1 var first = elements;