Notepad Ajax suggestions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Notepad Ajax suggestions

I have a code in notepad that I thought was strange that it didn't work, so I put it in Code Playground and two other text editors and it worked perfectly. Does anyone know if notepad has special rules for ajax requests? (I'm using jQuery btw)

5th May 2018, 7:35 PM
jacksonofgames 28
jacksonofgames 28 - avatar
3 Answers
0
The editor itself does't matter. It's just an editor. Notepad doesn't run code. it's just a dumb text editor. The code playground executes code. I suspect the other 2 editors you tried do to.
5th May 2018, 10:25 PM
Adam
Adam - avatar
0
But notepad can run code, and it does run my code well, just not ajax
6th May 2018, 5:47 AM
jacksonofgames 28
jacksonofgames 28 - avatar
0
Notepad will execute JavaScript if the html page is given a script tag linking to it
6th May 2018, 3:45 PM
jacksonofgames 28
jacksonofgames 28 - avatar