阅读背景:

如何通过PHP获取URL变量来使用Javascript打开窗口?

来源:互联网 

So basically , I'd like to pass a PHP get variable from a link to Javascript so I can open a new smaller window with the appropriate content from the value passed to the URL .. I tried to do that below and I couldn't ... I'd really appreciate your assistance. The code below generates image hyperlinks that each have their ids from the database , so when the image is clicked on , a new window should be open but the ID should be passed to the javascript window.open method ... I tried to do that with AJAX to load the content according to the get variable but I couldn't do it !!So basically , I'd like to pass a PHP get varia




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: