开发者

jQuery dialog and PHP grid

开发者 https://www.devze.com 2023-02-12 16:55 出处:网络
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 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

精彩评论

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