doubo6658 2012-05-04 14:38
浏览 34

如何将动态php页面放入jquery手风琴“活动”部分

I am redoing my site and have at any time 80-120 vehicles, all identified in my db by their unique stock number. I'm using jQuery's accordion to list the vehicles: http://www.login.carcityofdanbury.com/New/?cat=01

How do I embed edit.php?stock=__STOCK__ into the div of the open accordion, once the accordion opens? I tried just using just an HTML <embed> tag, but it is making the page load extremely slow.

I am new to the whole jQuery, Ajax, coding thing and am completely a self taught "learn as I go" guy, so a demo, tutorial or example would be great.

  • 写回答

3条回答 默认 最新

  • dotxxh0998 2012-05-04 14:49
    关注

    You could get some help here: http://api.jquery.com/jQuery.ajax/

    Example:

    $.ajax({
           url: "yourPage.php",
           success: function(data){
             $("#youarea").text(data);
           }
         });
    
    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料