2016-06-09 43 views
0

你好是否可以使用$(result_div).html(data).enhanceWithin();Jquery Mobile使用AJAX動態替換頁面

爲什麼我在一個錯誤VM398:148 Uncaught TypeError: $(...).html(...).enhanceWithin is not a function

+0

?在1.3.x(及以下)中使用.trigger('create')而不是.enhanceWithin() –

+0

謝謝你解決了這個問題:) –

+0

很高興它有幫助。發表與回答相同的評論。請標記爲已接受的答案。 –

回答

1

使用.trigger('create')在1.3.x中(及以下),而不是.enhanceWithin()您正在使用哪個版本的jQuery

相關問題