Fermé

Simple Ajax function

I need someone to tweak an ajax script it does not seem to load all of the data from the page being called and it is really annoying me.

function ajax(object){

var ajaxRequest; // The variable that makes Ajax possible!

try{

// Opera 8.0+, Firefox, Safari

ajaxRequest = new XMLHttpRequest();

} catch (e){

// Internet Explorer Browsers

try{

ajaxRequest = new ActiveXObject("[url removed, login to view]");

} catch (e) {

try{

ajaxRequest = new ActiveXObject("[url removed, login to view]");

} catch (e){

// Something went wrong

alert("Your browser broke!");

return false;

}

}

}

// Create a function that will receive data sent from the server

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

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

//remove the container div

var child = [url removed, login to view]('child');

var album = [url removed, login to view]('album');

var parent = [url removed, login to view]('parent');

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

if(album){ [url removed, login to view](album) };

//assing a new child div

var newdiv = [url removed, login to view]('div');

var divIdName = 'child';

[url removed, login to view]('id',divIdName);

//append it to the parent div

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

var ajaxDisplay = [url removed, login to view]('child');

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

}

}

var queryString = "?slug=" + object;

[url removed, login to view]("GET", "/[url removed, login to view]" + queryString, true);

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

}

Pleas PM me for the page that is being called.

Compétences : AJAX

Voir plus : php script null, internet catch, php create function, remove object, null, function, broke, simple function, querystring php, simple makes, php slug, server sent ajax, php ajax function, open safari, ajax load php, simple alert php, ajax return, script open internet explorer, php function ajax, simple ajax page, simple firefox, php script append data, simple alert, internet explorer object, open explorer

Concernant l'employeur :
( 6 commentaires ) woods Cross, United States

N° du projet : #1015294

19 freelance ont fait une offre moyenne de 34 $ pour ce travail

lsweb

Hello. Please check your PM. Thanks.

35 $ USD en 1 jour
(16 Commentaires)
6.0
halezabux

Hi,Ready to start on this immediately. Thanks.

30 $ USD en 0 jours
(14 Commentaires)
5.3
jqMike

I am a JavaScript expert and I can fix it quickly and professionall. Please contact me to discuss details.

50 $ USD en 1 jour
(21 Commentaires)
5.3
AStonetech

I could fix this issue quickly lets start now and get it done.

30 $ USD en 0 jours
(25 Commentaires)
5.1
perlomonster

let's fix it right now.

30 $ USD en 0 jours
(3 Commentaires)
4.6
stolho

Hi! Ready to start right now. Please read PM for more details!

30 $ USD en 0 jours
(9 Commentaires)
4.6
jDevAndDesign

please check your pmb

30 $ USD en 1 jour
(18 Commentaires)
4.4
mike25

please check your inbox.

50 $ USD en 1 jour
(2 Commentaires)
3.1
sanjuintelligo

i want complete html page and php page you are requesting

30 $ USD en 2 jours
(3 Commentaires)
2.6
gafhus

Check PMB please.

30 $ USD en 0 jours
(2 Commentaires)
1.8
phpjquery

Please check PMB.

30 $ USD en 0 jours
(3 Commentaires)
1.5
sachin134l

Hi, please check pmb.

30 $ USD en 0 jours
(0 Commentaires)
0.0
nanamedia

I can fix that for you

60 $ USD en 1 jour
(0 Commentaires)
0.0
jyang

Check PM for details.

30 $ USD en 1 jour
(0 Commentaires)
0.0
johnluke911

I know wats the problem, you can get the answer in minutes.

30 $ USD en 1 jour
(0 Commentaires)
0.0
alhweiti

lets do it

30 $ USD en 2 jours
(0 Commentaires)
0.0
iwind

Ready to start

30 $ USD en 1 jour
(0 Commentaires)
0.0
Inam82

Check PM for details.

30 $ USD en 1 jour
(0 Commentaires)
0.0
akyadav

Hi, I am good in ajax,I will completed your task with in deadline. Thanks Atul yadav

30 $ USD en 1 jour
(0 Commentaires)
0.0
yanvn

It's nice to work with you!

30 $ USD en 0 jours
(0 Commentaires)
0.0