2
我有一个页面的一部分,我想加载使用ajax。内容是此向导的HTML:http://techlaboratory.net/labs/SmartWizard2/index.htmjQuery ajax:加载html +应用插件,ie7
什么IM正在做。)
$(function(){
$.ajax({
url: 'content.htm',
dataType: 'html',
success: function(data) {
$('#content').html(data);
$('#wizard').smartWizard({
//#wizard is inside the #content
transitionEffect:'fade',
onFinish: function() {
alert('finishClicked');
}
});
}
});
});
该脚本工作正常,如果我只是用$( '#向导')的SmartWizard(,并保留一切对相同的页面。但是当我用Ajax加载它不起作用。有谁能告诉我区别吗?任何想法如何解决?由于