Hi, how are you? I am a high school student studying the web. I'm leaving a message because there was a problem while studying. I'm going to send ajax request I heard that the Chrome browser blocked security. So you go into the property and --disable-web-security --user-data-dir="D:\Brakes\html" After I set it up, I kept doing it in the console window Failed to load file://D:/Brakes/html/json_data.txt: Crossorigin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Can I know how to fix it? Please.
ajax google-chrome ajax-request
If it's the option above, it should work normally.
I think he would have run the html file containing the Ajax code right away.
Run the Chrome browser with the security option
and type the html file path in the address bar, or drag the html file to the Chrome browser screen.
© 2024 OneMinuteCode. All rights reserved.