下图为父窗口,点击图片事件,打开模式窗口,传入当前行ID
1 $("#datadiv img").click(function(e) { 2 var id = $(this).parent().parent().attr("id").replace("tr",""); 3 window.showModalDialog(_app_url+"Schedule/problem/problem_history.asp?>); 4 });
下图为父窗口,点击图片事件,打开模式窗口,传入当前行ID
1 $("#datadiv img").click(function(e) { 2 var id = $(this).parent().parent().attr("id").replace("tr",""); 3 window.showModalDialog(_app_url+"Schedule/problem/problem_history.asp?>); 4 });
相关文章: