is there any way to debug mistakes as misspelling URL in datatype as in the code:
$.ajax({beforeSend:function (XMLHttpRequest) {}, complete:function (XMLHttpRequest, textStatus) {},
type: "POST",
data: ajaxPostData,
dataType:"html", evalScripts:true, success:function (data, textStatus) {update(data)}, url: **HERE WAS A BUG**
PS. I use firebug and firephp