如何在jquery中提供图像路径?
如何在jquery中更改图像路径,我想更改此图像路径:如何在jquery中提供图像路径?,jquery,codeigniter,Jquery,Codeigniter,如何在jquery中更改图像路径,我想更改此图像路径: loader_path: 'images/prettyPopin/loader.gif' 我使用了这个代码,但没有工作 loader_path: '<?php echo theme_img('prettyPopin/loader.gif'); ?> loader\u路径:' 加载程序路径:“” 您缺少结束报价 试试看 "<?php echo theme_img('prettyPopin/loader.gif'); ?
loader_path: 'images/prettyPopin/loader.gif'
我使用了这个代码,但没有工作
loader_path: '<?php echo theme_img('prettyPopin/loader.gif'); ?>
loader\u路径:'
加载程序路径:“”
您缺少结束报价 试试看
"<?php echo theme_img('prettyPopin/loader.gif'); ?>"
“”
不要混用引号
prettyppin/loader.gif
字符串不是变量吗您缺少结束引号..?这是jQuery吗?!这是php。。。
"<?php echo theme_img('prettyPopin/loader.gif'); ?>"