javascript - Loading external content into server on localhost -



javascript - Loading external content into server on localhost -

i trying create web application loads content dynamically. when this, of course of study want development locally, i.e. localhost. of "functionality" form , when posting form e-mail sent server. because want access servers e-mail functionality, linking specific page server. problem is not loaded.

in script below works, if alter comments pointing iandapp.com, empty string. it's same page, copied server.

$("#support").click(function () { if(support_page==null){ //$("#section2").load("http://www.iandapp.com/smic/subscription_2.php", function(data) { $("#section2").load("subscription_2.php", function(data) { support_page = data; }); }

the script located inte main page (index.html) , content should loaded div id="section2".

i know (support_page==null) true because have break point within stops.

please allow me know probelm , how can prepare it. have been going on hours trying working.

thanks in advance!

google

cross domain ajax requests

. disabled in browser level. there ways circumvent this, both client side , server side.

javascript jquery dom dynamic-data

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -