473,467 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ajax problem

K.
Hello!

I have the following problem.

I have form div which is replaced by ajax event.
Unofrtunately all the ajax inputs are null after posting the form
(method="post") in Firefox,
but on screen they are filled in (not null values).
On Internet Explorer 7.0 everything works fine. After posting the form all
ajax inputs are not empty.

Here is my code:
function getMatchingRecords(key, dataFile, podwojna_pozycja, from, to)
{
var tablica_pozycja_aktualna = new Array();
var tablica_pozycja_poprzednia = new Array();
var tablica_pozycja_zespol = new Array();
var tablica_pozycja_utwor = new Array();

tablica_pozycja_aktualna.length=0;
tablica_pozycja_poprzednia.length=0;
tablica_pozycja_zespol.length=0;
tablica_pozycja_utwor.length=0;
var help='nie wchodz';
if (document.getElementById('il_poz_juz_wygener').val ue>0)
{
help='wchodz';
var l=0;
var ll=0;
var
pomoc_pozycja=parseInt(document.getElementById('il _poz_juz_wygener').value);
var pomoc_pozycja=0;
var tablica_pozycja_aktualna= new Array(pomoc_pozycja);
var tablica_pozycja_poprzednia= new Array(pomoc_pozycja);
var tablica_zespol= new Array(pomoc_pozycja);
var tablica_utwor= new Array(pomoc_pozycja);
var tablica_id_new_old= new Array(pomoc_pozycja);
var tablica_zespol_new_old= new Array(pomoc_pozycja);
var tablica_utwor_new_old= new Array(pomoc_pozycja);
for (var
m=(parseInt(document.getElementById('ilosc_pozycji _from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+1);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+parseInt(document.getElementById(' il_poz_juz_wygener').value);m++)
{
l=l+1;

tablica_pozycja_aktualna[l]=document.getElementById('pozycja_aktualna_new'+m) .value;
tablica_pozycja_poprzednia[l]=document.getElementById('pozycja_poprzednia_new'+ m).value;
tablica_zespol[l]=document.getElementById('artysta_new'+m).value;
tablica_utwor[l]=document.getElementById('utwor_new'+m).value;
tablica_zespol_new_old[l]=document.getElementById('artysta_new_old'+m).valu e;
tablica_utwor_new_old[l]=document.getElementById('utwor_new_old'+m).value;
tablica_id_new_old[l]=document.getElementById('id_new_old'+m).value;
}

}
var el = document.getElementById(key);

var file="<?=$appconf[url_page];
?>"+dataFile+"?key="+key+"&from="+from+"&to="+to+" &podwojna_pozycja="+podwojna_pozycja;

try {
if (netscape.security.PrivilegeManager.enablePrivileg e)
{
netscape.security.PrivilegeManager.enablePrivilege ('UniversalBrowserRead');
}
}
catch (ex)
{ // eat it

}

if (window.XMLHttpRequest)
{
alert('mozzila');
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", file, false);
xmlhttp.send(null);
}
else if(window.ActiveXObject)
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
if(xmlhttp)
{
xmlhttp.open("GET", file, false);
xmlhttp.send();
}
}
else
{
alert("Test browser does not support this!");
}

//xmlhttp.open("GET", file, false);
//xmlhttp.send(null);

if(xmlhttp.status == 200)
{
el.innerHTML = xmlhttp.responseText;

if (help=='wchodz')
{
var mm=0;
var x=0;
var w=0;
var tablica_zapamietan_zespol = new Array();
var tablica_zapamietan_utwor = new Array();
var tablica_zapamietan_zespol_new_old = new Array();
var tablica_zapamietan_utwor_new_old = new Array();
var tablica_zapamietan_id_new_old= new Array();
var helpek=0;
var taki_sam='';

helpek=0;
for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

for (var n=1;n<=tablica_pozycja_aktualna.length;n++)
{

if
((parseInt(document.getElementById('pozycja_aktual na_new'+mm).value)==parseInt(tablica_pozycja_aktua lna[n]))
&& (document.getElementById('artysta_new'+mm).value== ''))
{
taki_sam='nie';
if (helpek==parseInt(tablica_pozycja_aktualna[n]))
{
helpek=parseInt(tablica_pozycja_aktualna[n]);
w=w+1;
if (w>0)
{
for (var x=0;x<tablica_zapamietan_zespol.length;x++)
{
if ((tablica_zapamietan_zespol[x]==tablica_zespol[n]) &&
(tablica_zapamietan_utwor[x]==tablica_utwor[n]))
{
taki_sam='tak';
}
}
}

tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}
else
{
w=0;
helpek=parseInt(tablica_pozycja_aktualna[n]);
tablica_zapamietan_zespol.length=0;
tablica_zapamietan_utwor.length=0;
tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}

if (taki_sam=='nie')
{
//document.getElementById('pozycja_aktualna_new'+mm) .value=tablica_pozycja_aktualna[m];
document.getElementById('pozycja_poprzednia_new'+m m).value=tablica_pozycja_poprzednia[n];
document.getElementById('artysta_new'+mm).value=ta blica_zespol[n];
document.getElementById('utwor_new'+mm).value=tabl ica_utwor[n];
document.getElementById('id_new_old'+mm).value=tab lica_id_new_old[n];
document.getElementById('artysta_new_old'+mm).valu e=tablica_zespol_new_old[n];
document.getElementById('utwor_new_old'+mm).value= tablica_utwor_new_old[n];
}
}
}
}

var utwory_ktore_wypadly='';
var utwor_wypadl='';
//sprawdzanie ktore utwory wypadly z listy
for (n=1;n<tablica_pozycja_aktualna.length;n++)
{
mm=0;
utwor_wypadl='tak';

for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

if
((document.getElementById('artysta_new'+mm).value= =tablica_zespol[n]) &&
(document.getElementById('utwor_new'+mm).value==ta blica_utwor[n]))
{
utwor_wypadl='nie';
}
}

if (utwor_wypadl=='tak')
{
utwory_ktore_wypadly=utwory_ktore_wypadly+tablica_ zespol[n]+' -
'+tablica_utwor[n]+';';
}
}

document.getElementById('utwory_wypadniete').value =utwory_ktore_wypadly;

}

document.getElementById('pobierz_notowanie_btn').s tyle.visibility='hidden';
document.getElementById('nr_notowania_old').style. visibility='hidden';
} else {
alert("Error: "+xmlhttp.status);
}
}
Apr 24 '07 #1
2 1819
On 24 Apr, 11:33, "K." <halinaciern...@poczta.onet.plwrote:
Hello!

I have the following problem.

I have form div which is replaced by ajax event.
Unofrtunately all the ajax inputs are null after posting the form
(method="post") in Firefox,
but on screen they are filled in (not null values).
On Internet Explorer 7.0 everything works fine. After posting the form all
ajax inputs are not empty.

Here is my code:

function getMatchingRecords(key, dataFile, podwojna_pozycja, from, to)
{
var tablica_pozycja_aktualna = new Array();
var tablica_pozycja_poprzednia = new Array();
var tablica_pozycja_zespol = new Array();
var tablica_pozycja_utwor = new Array();

tablica_pozycja_aktualna.length=0;
tablica_pozycja_poprzednia.length=0;
tablica_pozycja_zespol.length=0;
tablica_pozycja_utwor.length=0;
var help='nie wchodz';
if (document.getElementById('il_poz_juz_wygener').val ue>0)
{
help='wchodz';
var l=0;
var ll=0;
var
pomoc_pozycja=parseInt(document.getElementById('il _poz_juz_wygener').value);
var pomoc_pozycja=0;
var tablica_pozycja_aktualna= new Array(pomoc_pozycja);
var tablica_pozycja_poprzednia= new Array(pomoc_pozycja);
var tablica_zespol= new Array(pomoc_pozycja);
var tablica_utwor= new Array(pomoc_pozycja);
var tablica_id_new_old= new Array(pomoc_pozycja);
var tablica_zespol_new_old= new Array(pomoc_pozycja);
var tablica_utwor_new_old= new Array(pomoc_pozycja);
for (var
m=(parseInt(document.getElementById('ilosc_pozycji _from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+1);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+parseInt(document.getElementById(' il_poz_juz_wygener').value);m++)
{
l=l+1;

tablica_pozycja_aktualna[l]=document.getElementById('pozycja_aktualna_new'+m) .value;
tablica_pozycja_poprzednia[l]=document.getElementById('pozycja_poprzednia_new'+ m).value;
tablica_zespol[l]=document.getElementById('artysta_new'+m).value;
tablica_utwor[l]=document.getElementById('utwor_new'+m).value;
tablica_zespol_new_old[l]=document.getElementById('artysta_new_old'+m).valu e;
tablica_utwor_new_old[l]=document.getElementById('utwor_new_old'+m).value;
tablica_id_new_old[l]=document.getElementById('id_new_old'+m).value;
}

}

var el = document.getElementById(key);

var file="<?=$appconf[url_page];
?>"+dataFile+"?key="+key+"&from="+from+"&to="+to+" &podwojna_pozycja="+podwojna_pozycja;

try {
if (netscape.security.PrivilegeManager.enablePrivileg e)
{
netscape.security.PrivilegeManager.enablePrivilege ('UniversalBrowserRead');
}
}
catch (ex)
{ // eat it

}

if (window.XMLHttpRequest)
{
alert('mozzila');
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", file, false);
xmlhttp.send(null);
}
else if(window.ActiveXObject)
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
if(xmlhttp)
{
xmlhttp.open("GET", file, false);
xmlhttp.send();
}
}
else
{
alert("Test browser does not support this!");
}

//xmlhttp.open("GET", file, false);
//xmlhttp.send(null);

if(xmlhttp.status == 200)
{
el.innerHTML = xmlhttp.responseText;

if (help=='wchodz')
{
var mm=0;
var x=0;
var w=0;
var tablica_zapamietan_zespol = new Array();
var tablica_zapamietan_utwor = new Array();
var tablica_zapamietan_zespol_new_old = new Array();
var tablica_zapamietan_utwor_new_old = new Array();
var tablica_zapamietan_id_new_old= new Array();
var helpek=0;
var taki_sam='';

helpek=0;
for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

for (var n=1;n<=tablica_pozycja_aktualna.length;n++)
{

if
((parseInt(document.getElementById('pozycja_aktual na_new'+mm).value)==parseInt(tablica_pozycja_aktua lna[n]))
&& (document.getElementById('artysta_new'+mm).value== ''))
{
taki_sam='nie';
if (helpek==parseInt(tablica_pozycja_aktualna[n]))
{
helpek=parseInt(tablica_pozycja_aktualna[n]);
w=w+1;
if (w>0)
{
for (var x=0;x<tablica_zapamietan_zespol.length;x++)
{
if ((tablica_zapamietan_zespol[x]==tablica_zespol[n]) &&
(tablica_zapamietan_utwor[x]==tablica_utwor[n]))
{
taki_sam='tak';
}
}
}

tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}
else
{
w=0;
helpek=parseInt(tablica_pozycja_aktualna[n]);
tablica_zapamietan_zespol.length=0;
tablica_zapamietan_utwor.length=0;
tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}

if (taki_sam=='nie')
{
//document.getElementById('pozycja_aktualna_new'+mm) .value=tablica_pozycja_aktualna[m];
document.getElementById('pozycja_poprzednia_new'+m m).value=tablica_pozycja_poprzednia[n];
document.getElementById('artysta_new'+mm).value=ta blica_zespol[n];
document.getElementById('utwor_new'+mm).value=tabl ica_utwor[n];
document.getElementById('id_new_old'+mm).value=tab lica_id_new_old[n];
document.getElementById('artysta_new_old'+mm).valu e=tablica_zespol_new_old[n];
document.getElementById('utwor_new_old'+mm).value= tablica_utwor_new_old[n];
}
}
}
}

var utwory_ktore_wypadly='';
var utwor_wypadl='';
//sprawdzanie ktore utwory wypadly z listy
for (n=1;n<tablica_pozycja_aktualna.length;n++)
{
mm=0;
utwor_wypadl='tak';

for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

if
((document.getElementById('artysta_new'+mm).value= =tablica_zespol[n]) &&
(document.getElementById('utwor_new'+mm).value==ta blica_utwor[n]))
{
utwor_wypadl='nie';
}
}

if (utwor_wypadl=='tak')
{
utwory_ktore_wypadly=utwory_ktore_wypadly+tablica_ zespol[n]+' -
'+tablica_utwor[n]+';';
}
}

document.getElementById('utwory_wypadniete').value =utwory_ktore_wypadly;

}

document.getElementById('pobierz_notowanie_btn').s tyle.visibility='hidden';
document.getElementById('nr_notowania_old').style. visibility='hidden';
} else {
alert("Error: "+xmlhttp.status);
}
}
you could try adding
if (xmlhttp.readyState==4)
{
// if "OK"
if (xmlhttp.status==200)
{
// ...some code here...
}

into the logic, and then download and install firebug addon for
firefxo and watch in real time the request being made, and the
response to pin down where it is going wrong.

Apr 24 '07 #2
Daz
On Apr 24, 11:33 am, "K." <halinaciern...@poczta.onet.plwrote:
Hello!

I have the following problem.

I have form div which is replaced by ajax event.
Unofrtunately all the ajax inputs are null after posting the form
(method="post") in Firefox,
but on screen they are filled in (not null values).
On Internet Explorer 7.0 everything works fine. After posting the form all
ajax inputs are not empty.

Here is my code:

function getMatchingRecords(key, dataFile, podwojna_pozycja, from, to)
{
var tablica_pozycja_aktualna = new Array();
var tablica_pozycja_poprzednia = new Array();
var tablica_pozycja_zespol = new Array();
var tablica_pozycja_utwor = new Array();

tablica_pozycja_aktualna.length=0;
tablica_pozycja_poprzednia.length=0;
tablica_pozycja_zespol.length=0;
tablica_pozycja_utwor.length=0;
var help='nie wchodz';
if (document.getElementById('il_poz_juz_wygener').val ue>0)
{
help='wchodz';
var l=0;
var ll=0;
var
pomoc_pozycja=parseInt(document.getElementById('il _poz_juz_wygener').value);
var pomoc_pozycja=0;
var tablica_pozycja_aktualna= new Array(pomoc_pozycja);
var tablica_pozycja_poprzednia= new Array(pomoc_pozycja);
var tablica_zespol= new Array(pomoc_pozycja);
var tablica_utwor= new Array(pomoc_pozycja);
var tablica_id_new_old= new Array(pomoc_pozycja);
var tablica_zespol_new_old= new Array(pomoc_pozycja);
var tablica_utwor_new_old= new Array(pomoc_pozycja);
for (var
m=(parseInt(document.getElementById('ilosc_pozycji _from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+1);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-parseInt(document.getElementById('ilosc_pozycji_fr om_new').value)+parseInt(document.getElementById(' il_poz_juz_wygener').value);m++)
{
l=l+1;

tablica_pozycja_aktualna[l]=document.getElementById('pozycja_aktualna_new'+m) .value;
tablica_pozycja_poprzednia[l]=document.getElementById('pozycja_poprzednia_new'+ m).value;
tablica_zespol[l]=document.getElementById('artysta_new'+m).value;
tablica_utwor[l]=document.getElementById('utwor_new'+m).value;
tablica_zespol_new_old[l]=document.getElementById('artysta_new_old'+m).valu e;
tablica_utwor_new_old[l]=document.getElementById('utwor_new_old'+m).value;
tablica_id_new_old[l]=document.getElementById('id_new_old'+m).value;
}

}

var el = document.getElementById(key);

var file="<?=$appconf[url_page];
?>"+dataFile+"?key="+key+"&from="+from+"&to="+to+" &podwojna_pozycja="+podwojna_pozycja;

try {
if (netscape.security.PrivilegeManager.enablePrivileg e)
{
netscape.security.PrivilegeManager.enablePrivilege ('UniversalBrowserRead');
}
}
catch (ex)
{ // eat it

}

if (window.XMLHttpRequest)
{
alert('mozzila');
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", file, false);
xmlhttp.send(null);
}
else if(window.ActiveXObject)
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
if(xmlhttp)
{
xmlhttp.open("GET", file, false);
xmlhttp.send();
}
}
else
{
alert("Test browser does not support this!");
}

//xmlhttp.open("GET", file, false);
//xmlhttp.send(null);

if(xmlhttp.status == 200)
{
el.innerHTML = xmlhttp.responseText;

if (help=='wchodz')
{
var mm=0;
var x=0;
var w=0;
var tablica_zapamietan_zespol = new Array();
var tablica_zapamietan_utwor = new Array();
var tablica_zapamietan_zespol_new_old = new Array();
var tablica_zapamietan_utwor_new_old = new Array();
var tablica_zapamietan_id_new_old= new Array();
var helpek=0;
var taki_sam='';

helpek=0;
for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

for (var n=1;n<=tablica_pozycja_aktualna.length;n++)
{

if
((parseInt(document.getElementById('pozycja_aktual na_new'+mm).value)==parseInt(tablica_pozycja_aktua lna[n]))
&& (document.getElementById('artysta_new'+mm).value== ''))
{
taki_sam='nie';
if (helpek==parseInt(tablica_pozycja_aktualna[n]))
{
helpek=parseInt(tablica_pozycja_aktualna[n]);
w=w+1;
if (w>0)
{
for (var x=0;x<tablica_zapamietan_zespol.length;x++)
{
if ((tablica_zapamietan_zespol[x]==tablica_zespol[n]) &&
(tablica_zapamietan_utwor[x]==tablica_utwor[n]))
{
taki_sam='tak';
}
}
}

tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}
else
{
w=0;
helpek=parseInt(tablica_pozycja_aktualna[n]);
tablica_zapamietan_zespol.length=0;
tablica_zapamietan_utwor.length=0;
tablica_zapamietan_zespol[w]=tablica_zespol[n];
tablica_zapamietan_utwor[w]=tablica_utwor[n];
tablica_zapamietan_id_new_old[w]=tablica_id_new_old[n];
tablica_zapamietan_zespol_new_old[w]=tablica_zespol_new_old[n];
tablica_zapamietan_utwor_new_old[w]=tablica_utwor_new_old[n];
}

if (taki_sam=='nie')
{
//document.getElementById('pozycja_aktualna_new'+mm) .value=tablica_pozycja_aktualna[m];
document.getElementById('pozycja_poprzednia_new'+m m).value=tablica_pozycja_poprzednia[n];
document.getElementById('artysta_new'+mm).value=ta blica_zespol[n];
document.getElementById('utwor_new'+mm).value=tabl ica_utwor[n];
document.getElementById('id_new_old'+mm).value=tab lica_id_new_old[n];
document.getElementById('artysta_new_old'+mm).valu e=tablica_zespol_new_old[n];
document.getElementById('utwor_new_old'+mm).value= tablica_utwor_new_old[n];
}
}
}
}

var utwory_ktore_wypadly='';
var utwor_wypadl='';
//sprawdzanie ktore utwory wypadly z listy
for (n=1;n<tablica_pozycja_aktualna.length;n++)
{
mm=0;
utwor_wypadl='tak';

for
(m=parseInt(document.getElementById('ilosc_pozycji _from_new').value);m<=parseInt(document.getElement ById('ilosc_pozycji_from_new').value)-1+parseInt(document.getElementById('il_poz_juz_wyg ener').value);m++)
{
mm=mm+1;

if
((document.getElementById('artysta_new'+mm).value= =tablica_zespol[n]) &&
(document.getElementById('utwor_new'+mm).value==ta blica_utwor[n]))
{
utwor_wypadl='nie';
}
}

if (utwor_wypadl=='tak')
{
utwory_ktore_wypadly=utwory_ktore_wypadly+tablica_ zespol[n]+' -
'+tablica_utwor[n]+';';
}
}

document.getElementById('utwory_wypadniete').value =utwory_ktore_wypadly;

}

document.getElementById('pobierz_notowanie_btn').s tyle.visibility='hidden';
document.getElementById('nr_notowania_old').style. visibility='hidden';
} else {
alert("Error: "+xmlhttp.status);
}
}
Wow, that's a lot of code.

I would recommend you install Firebug, which is an extension available
for Firefox. It is packed full of seriously useful stuff, such as
prividing you with the ability to edit HTML on-the-fly, and also
monitor XMLHttpRequests, and more. It also has a JavaScript debugger
and allows you to write to the console. If there is a problem, Firebug
will find it, you just need to take the time to learn how to use it,
although it really is quite simple.

All the best.

Daz.

Apr 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
5
by: Martin | last post by:
Hello NG, I've been doing some AJAX for a few weeks now. The basics worked fine so far, but now I've got the following problem which I can't solve: With AJAX you typically update/replace only...
3
by: Alok yadav | last post by:
I have an open IP and on that IP our main application is hosted. it uses ajax. in web.config file i have register ajax handlers. there are also other sites or project on that IP. now my problem is...
3
by: equazcion | last post by:
Hi, I have an image reference (IMG) in my page that changes depending on the value of a database field. Clicking the image triggers an Ajax call to change the database field (toggles the field...
7
by: tommurray | last post by:
Hi all Hope someone can help with the problem I am having as it is driving me nuts! I have the below script on my site the problem lies with passing through a url parameter in the below line...
6
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick...
2
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if...
3
by: willl69 | last post by:
Hi All, Ive been having a problem of late with one of my sites that uses PHP5 / Ajax. The problem is that periodically the ajax functions lock up and it gets stuck in the loading phase of the...
2
by: majidtou | last post by:
Hi , We have an HTML page which is using AJAX. We make an AJAX call which retrieves a table with mutiple rows. We need to extend this functionality. In the table, we want to put a button on each...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.