Click here to Skip to main content
15,896,207 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: XMLHttpRequest behaves differently on static HTML page to Wordpress site Pin
DSB Audio (David Sweeney-Bear)4-Oct-22 3:00
DSB Audio (David Sweeney-Bear)4-Oct-22 3:00 
Thanks, it seems I made a "rookie" mistake... I'm in the habit of adding text strings to console.log outputs, since I tend to use so many to try and figure out what's going on in my code...

So, instead of console.log(xml) I had written console.log("xml: " + xml) which is what caused the data to be "unreadable" in console.

Using just the variable in console.log means that both fetch and XMLHttpRequest work equally well. In fact they were working anyway and the real root of the issue I'm tying to debug lies elsewhere... probably a subject for another post!

GeneralRe: XMLHttpRequest behaves differently on static HTML page to Wordpress site Pin
Richard Deeming4-Oct-22 3:25
mveRichard Deeming4-Oct-22 3:25 
QuestionHow to build course Content page in Html Css Pin
Member 1577435021-Sep-22 2:02
Member 1577435021-Sep-22 2:02 
QuestionCoworking Pin
Member 1576609713-Sep-22 3:21
Member 1576609713-Sep-22 3:21 
AnswerRe: Coworking Pin
rareprob solutions31-Oct-22 0:09
rareprob solutions31-Oct-22 0:09 
AnswerRe: Coworking Pin
Member 159431856-Mar-23 2:57
Member 159431856-Mar-23 2:57 
AnswerRe: Coworking Pin
CHill606-Mar-23 3:01
mveCHill606-Mar-23 3:01 
QuestionASP.NET Webform to go live Pin
Shao Voon Wong7-Sep-22 0:18
mvaShao Voon Wong7-Sep-22 0:18 
AnswerRe: ASP.NET Webform to go live Pin
Richard Deeming7-Sep-22 0:50
mveRichard Deeming7-Sep-22 0:50 
QuestionWeb Development Pin
William Worse3-Sep-22 1:52
William Worse3-Sep-22 1:52 
AnswerRe: Web Development Pin
Richard MacCutchan3-Sep-22 2:58
mveRichard MacCutchan3-Sep-22 2:58 
AnswerRe: Web Development Pin
rareprob solutions18-Oct-22 1:33
rareprob solutions18-Oct-22 1:33 
QuestionHTML6 as a "living document" will that work? Pin
Member 150787168-Aug-22 14:35
Member 150787168-Aug-22 14:35 
QuestionFullscreen scrolling image and adding more images Pin
Member 157264913-Aug-22 6:33
Member 157264913-Aug-22 6:33 
QuestionHow to get saved data from option select in PHP? Pin
imbruceter1-Aug-22 0:36
imbruceter1-Aug-22 0:36 
AnswerRe: How to get saved data from option select in PHP? Pin
Richard MacCutchan1-Aug-22 1:03
mveRichard MacCutchan1-Aug-22 1:03 
GeneralRe: How to get saved data from option select in PHP? Pin
imbruceter1-Aug-22 1:27
imbruceter1-Aug-22 1:27 
GeneralRe: How to get saved data from option select in PHP? Pin
Richard MacCutchan1-Aug-22 1:29
mveRichard MacCutchan1-Aug-22 1:29 
GeneralRe: How to get saved data from option select in PHP? Pin
imbruceter1-Aug-22 1:37
imbruceter1-Aug-22 1:37 
AnswerRe: How to get saved data from option select in PHP? Pin
Sandrahdes1-Sep-22 21:06
Sandrahdes1-Sep-22 21:06 
QuestionASP.Net MVC : Send an array in POST Pin
hageshii26-Jul-22 3:39
hageshii26-Jul-22 3:39 
QuestionSelf Signed Cert Questions Pin
Kevin Marois23-Jul-22 19:03
professionalKevin Marois23-Jul-22 19:03 
AnswerRe: Self Signed Cert Questions Pin
Richard Deeming24-Jul-22 21:30
mveRichard Deeming24-Jul-22 21:30 
GeneralRe: Self Signed Cert Questions Pin
Kevin Marois25-Jul-22 9:11
professionalKevin Marois25-Jul-22 9:11 
GeneralRe: Self Signed Cert Questions Pin
Richard Deeming25-Jul-22 21:17
mveRichard Deeming25-Jul-22 21:17 

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.