工作之前我的jQuery代碼此位 var l = $(this).closest('fieldset').find('.suggestable').length;
然後我升級到1.5,現在我得到這個錯誤 Error: elem.nodeName is undefined
任何想法,爲什麼這nolonger作品?
我正在學習新的jQuery $ .ajax回調語法。 問:如果我移動$('td.showcities')點擊函數之外的req.success,那麼我應該如何引用$ tr? // When the user clicks on a state, the list of cities will appear.
$('td.showcities').click(function(){
var
我不知道說你有這樣的事情 // Assign handlers immediately after making the request,
// and remember the jqxhr object for this request
var jqxhr = $.ajax({ url: "example.php" })
.success(function(response) {