I want to call a url with passing some parameter and i want to process the response coming from that url in javascript.
+3
A:
You're looking for AJAX.
There are a number of exceptional libraries out there that take most of the work off your hands, I like jQuery, but have a used a few others (Prototype, Dojo etc).
From the jQuery docs:
$.get('ajax/test.html', function(data) {
$('.result').html(data);
alert('Load was performed.');
});
Michael Shimmins
2010-04-06 06:52:17