已完成

Rewrite files with XMLHttpRequest to use jQuery .ajax

I have 2 files with multiple AJAX requests and responses (around 50 code blocks in total, many of them quite similar to each other) that were written the" old" way and I want to rewrite them all to use the modern way = to use jQuery .ajax instead, while maintaining the same exact functionality as the original code.

For example (not from my files):

This code:

function getListCollection() {

var url = "[url removed, login to view]"

xmlhttp = new XMLHttpRequest();

[url removed, login to view]('GET',url,true, 'user', 'password');

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

{

if([url removed, login to view] == 4);

{

[url removed, login to view]("listAttributes").innerHTML = [url removed, login to view]

}

}

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

}

Should become:

$.ajax({

url : '[url removed, login to view]', //cross-domain? this won't work

username : 'user',

password : 'password',

type : 'GET',

success : function(data){

$('#listAttributes').html(data);

}

});

Looking for a jQuery expert to do the job in the highest standard possible.

技能: Javascript, jQuery / Prototype

查看更多: xmlhttp readystate 0, if xmlhttp.readystate 4, list files folder jquery ajax, ajax, jquery, mvc jquery ajax upload multiple files, open pop jquery ajax, ajax upload big files script, php jquery ajax file manager, use m3u files, jquery ajax xml zend, jquery ajax modal, jquery ajax banner, jquery ajax xml cms

关于此雇主:
( 12个评论 ) Bangkok, Thailand

项目ID: #9394596

授予:

jthoma

Thanks for inviting me, I am pretty excited. Will take this up immediately and deliver very fast. Can we close this today ?

$50 USD 在1天内
(21条评论)
4.4

10 威客就此工作平均出价 $68

$55USD 在1天里
(86条评论)
6.4
$90 USD 在2天内
(4条评论)
3.1
Apsingh1278

Hi Greetings!! Thanks for posting this Job. I'm a Word press / Joomla / Magento / HTML developer with excellent experience in Website Designing/Development. I believe my abilities would be perfect for your venture. 更多

$100 USD 在3天内
(3条评论)
1.6
$35 USD 在2天内
(4条评论)
1.8
MohanKumar28

Hi, I have good experience in jquery and ajax calls. Have gone through the requirements. We can do this. Please share additional details. Thanks, Mohan

$66 USD 在0天内
(2条评论)
1.3
sharmaniharika

We are having an experience of 2 years and also provide surety of quality [login to view URL] are also having the team with innovative & creative ideas and good experienced in Google Analytic s and Internet Marketing and Web and G 更多

$14USD 在1天里
(1条评论)
0.0
jameer8879

Hi, I am software engineer having almost two years of experience in developing websites using NodeJs, AngularJs, .Net etc. I have worked a lot for jQuery and I'm expert in it. Currently I'm doing a job for Fre 更多

$111 USD 在5天内
(0条评论)
0.0
$61 USD 在2天内
(0条评论)
0.0
Atif81999

Hello, I am experienced Java and JavaScript developer with Jquery, Ajax, AngularJS, etc. frameworks and library. I am working for company and want to work part time also. You can handle CORS by adding Access-Cont 更多

$50USD 在1天里
(0条评论)
0.0
bumeengroup

Hello, It's a simple task, I can do it within one day. All I need is just your scripts. Best regards

$60USD 在1天里
(0条评论)
0.0