On Thu, Jul 11, 2013 at 6:20 PM, Siva prabu <[email protected]> wrote:

> HI dear friends,
> How to call a PHP Variable in Jquery?
>
>
What you need is not 'calling', but 'embedding'  - you should be doing this:
            $('#box4').css('background-image', 'url(images/<?php echo
$filename; ?>)');

and, btw, this applies not only for jquery, but any piece of the html/php
code.

Regards,
Madan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to