开发者

jQuery dialog and PHP grid

I have implemented jquery dialogbox within php grid but every time I open the same dialog box, it pulls the record into the box?

I declared the dialog box and used the following:

$("a.pop").each(function(i){

    $(this).click(function(e){
      e.preventDefault();
        $("#details").dialog('open');


    });

 开发者_高级运维 });

any help is appreciated....


Hope I am appreciated ... lol but please note that code is not tested so please let me know in case

$("a.pop").click(function(e){
     e.preventDefault();
        $("#details").load($(this).attr('href')).dialog('open');    
    });
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜