Đang Thực Hiện

AJAX Load From A Local File

Here is my code:

var xhr = new XMLHttpRequest();

[url removed, login to view] = function () {

if ([url removed, login to view] === 200) {

var DropDay = [url removed, login to view];

[url removed, login to view](DropDay);

} else {

[url removed, login to view]("Error: " + [url removed, login to view]);

}

};

[url removed, login to view]('Get', '[url removed, login to view]', true);

[url removed, login to view](null);

I need this to work from a local file so I do not get the following error "[url removed, login to view] XMLHttpRequest cannot load [url removed, login to view] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access."

Kỹ năng: Javascript

Xem thêm: store json php variable

Về Bên Thuê:
( 4 nhận xét ) Armonk, United States

Mã Dự Án: #14925207

Đã trao cho:

satyaemail

Hey i know what have been causing that can fix it in 2hrs. Relevant Skills and Experience AJAX,JS,HTMl,CSS,PHP Proposed Milestones $15 USD - Everything

$15 USD trong 1 ngày
(0 Đánh Giá)
0.0

12 freelancer đang chào giá trung bình $30 cho công việc này

$35 USD trong 1 ngày
(25 Đánh Giá)
4.6
$30 USD trong 0 ngày
(29 Đánh Giá)
4.5
TuyenPHP

I think i can do this project. Please hire me. You will contentment with my skills if you hire me. Thanks Relevant Skills and Experience Hi employer. I am a professional developer in PHP, Angularjs, Socket.IO, NodeJS, Thêm

$30 USD trong 1 ngày
(6 Đánh Giá)
3.6
PghProProgrammer

I can definitely take a look at this issue. From my experience the issue looks like to be related to CORS. I know how to work around it. Please contact. Relevant Skills and Experience I have over six years of developm Thêm

$35 USD trong 1 ngày
(4 Đánh Giá)
2.6
hbinfotechsols

I checked your project description and can do this job. . We are dealing in web designing & development with different technologies like PHP, Magento, Codeigniter, Laravel, WordPress, OpenCart etc. Relevant Skills and Thêm

$25 USD trong 1 ngày
(5 Đánh Giá)
2.5
JinTaiZhe

Dear Client. I can fix your issue easily. Relevant Skills and Experience javascript. Proposed Milestones $25 USD - placeholder

$25 USD trong 1 ngày
(1 Đánh Giá)
2.2
ShineStar4Mobile

Hi, dear employer! How are you? I have rich skills and experiences for PHP, HTML, CSS, Javascript and JQuery. In particular, Laravel and Wordpress, Codeignitor are my major works. I read your description carefully Thêm

$30 USD trong 0 ngày
(1 Đánh Giá)
1.0
shanymathew

Dear Sir, i am expert in Javascript please reply i can do it perfect Relevant Skills and Experience Javascript,PHP Proposed Milestones $30 USD - 1 DAY

$30 USD trong 1 ngày
(1 Đánh Giá)
0.1
springdragon43m

I am confident that I can help you surely because i have good experience with this kind of project development before. I can start immediately. Let's discuss in detail Looking forward to hear from you Stay tuned, I'm Thêm

$25 USD trong 1 ngày
(0 Đánh Giá)
0.0
nagu88

I'm very interested in your job posting. I am as a Software Consultant, I have consistently delivered projects on time and under budget, Relevant Skills and Experience I believe my skills would be ideal for your proje Thêm

$55 USD trong 1 ngày
(0 Đánh Giá)
0.0
vbadheli

Hello there, I've 5+years of experience in php and i'm sure i can fix the issue. Relevant Skills and Experience js, Proposed Milestones $25 USD - complete application Stay tuned, I'm still working on this proposal.

$25 USD trong 1 ngày
(0 Đánh Giá)
0.0