我在Php中编写此代码我想要转换为Jquery或Javascript
答
pd_image \border = \1 \style = \width:250px; height: 338px \> ;
pd_image\" border=\"1\" style=\"width:250px;height:338px\">";
您可以在html页面中使用document.write或设置元素的innerHtml。请查看以下主题以获取更多信息是否有php echo / print等效内容在javascript [ ^ ]
you can use document.write or set innerHtml of element in html page. check below thread for more information Is there a php echo/print equivalent in javascript[^]