Reputation: 363
How to change image path in jquery, i want to change this image path:
loader_path: 'images/prettyPopin/loader.gif'
i used this code but not work
loader_path: '<?php echo theme_img('prettyPopin/loader.gif'); ?>
Upvotes: 1
Views: 199
Reputation: 57105
Try
"<?php echo theme_img('prettyPopin/loader.gif'); ?>"
Don't Mix quotes
prettyPopin/loader.gif
is string not a variable
Upvotes: 1