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');
});
精彩评论