canadatom 0 Newbie Poster

Hi Guys, I am new to Ajax,

I am trying to output results by using perl script calling from Ajax,

function launcher(){

	new Ajax.Request(getLauncherPath,   
		{     
			method:'post',     
			parameters: {
						tag: "yadayada", 
						uid: "12345", 
						pwd: "blah", 
						action : "blah"
						},
			onInteractive: function(transport){   
				var response = transport.responseText; 	
				
				$('launcher').update(response);
			},
			
			onFailure: function(){ 
				alert('Something went wrong...') 
			}   
		}
	); 
}

Above code works in firefox, I got the result output line by line in real time, but IE7 doesn't output anything, I am wondering if prototypejs onInteractive does not work for IE7, is there any alternative solution for soving this kind of problem?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.