getResponseHeader is not a function
Posted
by zurna
on Stack Overflow
See other posts from Stack Overflow
or by zurna
Published on 2010-03-15T00:48:38Z
Indexed on
2010/03/15
0:49 UTC
Read the original article
Hit count: 333
jQuery
I need to get a value from another page. But I get this error with the following code. How can I fix it?
$(document).ready(function() {
$("[name='submit']").click(function() {
$.ajax({
type: "POST",
data: $(".form-signup").serialize(),
url: "external.asp",
success: function(output) {
alert(output.getResponseHeader("Content-Length"));,
error: function(output) {
$('.sysMsg').html(output);
}
});
});
});
© Stack Overflow or respective owner