cakephp with jquery .load

i've got a problem, i'm using cakephp and im loading into a div a page function loadContent(targetDiv, sourceUrl) { $(targetDiv).empty().html(''); $(targetDiv).load(sourceUrl); } it work's ok, but in a loaded page i've got autocomplete and thickbox, and that's not working :( when the page is loaded normally without ajax everything is fine. I think that ajax loaded page can't see mine jquery scripts. I've tried livequery but it work's only on something like that: $("#check").livequery('click', function(event) { $("#myform").toggleCheckboxes(); return false; }); but don't know how to use it with autocomplete and thickbox(made by helper in cakephp)

以上就是cakephp with jquery .load的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准