dongqin8652 2014-11-17 10:58
浏览 20


I have a problem and i do not know how to describe it, I have index page with a lot of modal,now i do not include all modal when page would load, i want to load that modal by ajax when click their links, now i send a request to a controller by ajax and return renderPartial

return View::make('index.edit_language')

and ajax function

    type: "POST", 
    url : "modal/lang",
    success : function (data) {  
        // alert('ok');

now every thing works good but when show that modal,js does not work!! it means when i click a link like this

<div class="mre_repeat_item lang_mre_repeat_item">
    <a href="#">add +</a>

<script type="text/javascript">
    $('#lang_mre_repeat_item').click(function() {

it does not work. i hope you could understand me!!thanks

  • 写回答

1条回答 默认 最新


      相关推荐 更多相似问题


      • ¥15 如何关闭soui dummy wdn 进程
      • ¥20 含有jar文件的文件夹用tar -zcvf 命令压缩后要怎么还原回去?
      • ¥15 天宝TBC软件出现报错怎么解决
      • ¥15 micropython 从1开始切片报错
      • ¥15 请问该怎么做才能将文字说明和二维码一起作为png图片一起下载
      • ¥15 r语言 混频数据回归 midas_r
      • ¥15 人脸识recogizer.predict返回值id报错,KeyError,详情如下
      • ¥15 geowebcache部署失败
      • ¥20 关于adaboost+haar特征实现人脸检测过程的一些细节问题
      • ¥15 csv文件增加一列 为csv文件的名字