Click here to Skip to main content
15,900,258 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: http-equiv ="refresh" Pin
OriginalGriff25-Feb-12 4:42
mveOriginalGriff25-Feb-12 4:42 
GeneralRe: http-equiv ="refresh" Pin
Dalek Dave25-Feb-12 4:44
professionalDalek Dave25-Feb-12 4:44 
GeneralRe: http-equiv ="refresh" Pin
jkirkerx27-Feb-12 16:25
professionaljkirkerx27-Feb-12 16:25 
QuestionProxy Server Proxy-Connection and Connection headers question. Pin
Rojan Gh.24-Feb-12 11:14
professionalRojan Gh.24-Feb-12 11:14 
Questionwhat happened to the PHP forum? Pin
cjoki23-Feb-12 9:25
cjoki23-Feb-12 9:25 
AnswerRe: what happened to the PHP forum? Pin
User 171649223-Feb-12 9:41
professionalUser 171649223-Feb-12 9:41 
GeneralRe: what happened to the PHP forum? Pin
cjoki23-Feb-12 9:51
cjoki23-Feb-12 9:51 
AnswerRe: what happened to the PHP forum? Pin
R. Giskard Reventlov23-Feb-12 9:42
R. Giskard Reventlov23-Feb-12 9:42 
GeneralRe: what happened to the PHP forum? Pin
cjoki23-Feb-12 9:48
cjoki23-Feb-12 9:48 
GeneralRe: what happened to the PHP forum? Pin
R. Giskard Reventlov23-Feb-12 9:50
R. Giskard Reventlov23-Feb-12 9:50 
GeneralRe: what happened to the PHP forum? Pin
cjoki23-Feb-12 9:52
cjoki23-Feb-12 9:52 
AnswerRe: what happened to the PHP forum? Pin
God-Solio23-Feb-12 16:39
God-Solio23-Feb-12 16:39 
AnswerWeb site implementation Pin
Member 835317819-Feb-12 21:28
Member 835317819-Feb-12 21:28 
GeneralRe: Web site implementation Pin
Abhinav S19-Feb-12 21:59
Abhinav S19-Feb-12 21:59 
AnswerRe: Web site implementation Pin
AspDotNetDev19-Feb-12 22:03
protectorAspDotNetDev19-Feb-12 22:03 
QuestionHow long does it take to develop a good web app alone? Pin
BupeChombaDerrick13-Feb-12 12:51
BupeChombaDerrick13-Feb-12 12:51 
AnswerRe: How long does it take to develop a good web app alone? Pin
Richard MacCutchan13-Feb-12 22:42
mveRichard MacCutchan13-Feb-12 22:42 
GeneralRe: How long does it take to develop a good web app alone? Pin
BupeChombaDerrick14-Feb-12 2:58
BupeChombaDerrick14-Feb-12 2:58 
QuestionCross domain scripting, jQuery and IE8 Pin
Wjousts13-Feb-12 9:35
Wjousts13-Feb-12 9:35 
I can't get this damn thing to work and it's driving me nuts. Here's the scenario:

Linux box running Apache - set up to send the Access-Control-Allow-Origin * header for the folder I'm working with

PHP web service that will build and return a JSON object on a request to mypage.php?project=1 or similar

Simple html test page running locally (from the file system) on my machine using jQuery to retrieve the JSON object from my web service like so:

JavaScript
$.getJSON(url, function (data) {
    $.each(data.factors, function (i, field) {
        $("div").append(field.FactorName + " ");
    });
});


Works fine in FF, works fine (on FF and IE) if I upload the page to the same server as the web service and run it form there, doesn't work at all in IE when running the page locally (doesn't look like the response is ever received).

I did a little research and it looks like for cross domain scripting in IE you should use XDomainRequest instead of XMLHttpRequest (which I think jQuery is using under the covers in getJSON). So I try this (based on some website):

JavaScript
if ($.browser.msie && window.XDomainRequest) {
    var xdr = new XDomainRequest();
    xdr.open("GET",url);
    xdr.onload = function() {
        alert("XDR Sent");
    };
    xdr.send();
}
else {
$.getJSON(url, function (data) {
    $.each(data.factors, function (i, field) {
        $("div").append(field.FactorName + " ");
    });
});
}


On IE it chokes on xdr.open with an "Access is denied" error. Any idea what the problem might be?
QuestionLining up the header Pin
Aaron Howarth12-Feb-12 4:10
Aaron Howarth12-Feb-12 4:10 
AnswerRe: Lining up the header Pin
Mohibur Rashid23-Feb-12 16:52
professionalMohibur Rashid23-Feb-12 16:52 
AnswerRe: Lining up the header Pin
Rojan Gh.24-Feb-12 11:18
professionalRojan Gh.24-Feb-12 11:18 
AnswerRe: Lining up the header Pin
Rojan Gh.24-Feb-12 11:48
professionalRojan Gh.24-Feb-12 11:48 
QuestionSharepoint upload directory to sharepoint library Pin
Member 86179209-Feb-12 21:31
Member 86179209-Feb-12 21:31 
QuestionWhat tool(s) to use Pin
David Crow9-Feb-12 8:42
David Crow9-Feb-12 8:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.