Hi All,
I am using Progress 10.2b and IE8 with ajax and jquery. I have also tried using a non-jquery solution which still doesnt work. I previously tested my solution in IE7 which worked fine. I hope someone can help, i have looked on many forums and got nowhere.
My jquery code is:
With the above code when i submit the form i get a javascript error flash up but i dont know what it says. This code works in FF.
using an alternative method:
Again i get the same response. When putting alert messages in here it only gets as far as creating a new ActiveXObject and then nothing else. Even when taking the .open and .send procedures outside of the onstagechange function it doesnt display the alert messages around them.
Any help would be appreciated ive spent hours searching for solutions.
Scott
I am using Progress 10.2b and IE8 with ajax and jquery. I have also tried using a non-jquery solution which still doesnt work. I previously tested my solution in IE7 which worked fine. I hope someone can help, i have looked on many forums and got nowhere.
My jquery code is:
Code:
$.ajax({
type: "POST",
url: "[URL="http://vertucentral.com/central/www/act/my_vertu.p"]myurl[/URL]",
cache: false,
data: { val1 : $("input[name=Q1]").val(),
val2 : $("input[name=Q2]").val(),
val3 : $("input[name=Q3]").val(),},
error: function(d){
alert("There was an error grabbing data");
},
success: function(d){
alert ("Working");
}
})
With the above code when i submit the form i get a javascript error flash up but i dont know what it says. This code works in FF.
using an alternative method:
Code:
var xmlhttp;
if (window.ActiveXObject)
{
xmlhttp=new ActiveXObject("Microsoft.XMLHttp");
}
else
{
xmlhttp=new XMLHttpRequest();
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("#1").innerHTML=xmlhttp.responseText;
}
xmlhttp.open("POST","[URL="http://vertumotors.com/central/www/act/my_vertu.p?sname=Ward&fname=Simon",true"]myurl?val1=hello&val2=test&val3=values",true[/URL]);
xmlhttp.send();
}
Again i get the same response. When putting alert messages in here it only gets as far as creating a new ActiveXObject and then nothing else. Even when taking the .open and .send procedures outside of the onstagechange function it doesnt display the alert messages around them.
Any help would be appreciated ive spent hours searching for solutions.
Scott