The following topic had driven me nuts for a few hours. I have been reading article after article trying to get this to work, with no luck. Lets start with what im trying to do.
I am making a JS file that people can link on their webpage, and will create tooltips on links (from data from my database). Ok np.
I have a php file for testing.
Ok great, however, when I call using .get it does not work, however, the same goes for .getJson still no go.
Heres the kicker. I know for a fact .get() does work cross domain. Check here: http://jsfiddle.net/Xj234/ as you can see, it pulls for jsbin.
Any idea how this is possible? Thank you so much for your time.
I am making a JS file that people can link on their webpage, and will create tooltips on links (from data from my database). Ok np.
I have a php file for testing.
Code:
$item = $_GET['item']; if ($item == "test") { echo "{test:<div><b> Item of 'hello world'</b> </div>}"; }
Heres the kicker. I know for a fact .get() does work cross domain. Check here: http://jsfiddle.net/Xj234/ as you can see, it pulls for jsbin.
Any idea how this is possible? Thank you so much for your time.
Comment