[jQuery] Re: .append with a var

2009-01-22 Thread Liam Potter
you would need to have the javascript with the php in the same file so it would be something like this ?php $var = testing; ? script type=text/javascript $(function () { $(#someDiv).append(Some value is:b?php $var ?/b); }); /script Nikola wrote: Hello, I am trying to figure out how to

[jQuery] Re: .append with a var

2009-01-22 Thread Nikola
Thanks, that's one of the expressions I tried out to no avail. I am trying to append an error message to a div much like how the form plug- in allows you to set a target container for server output. So, this entire function is within an if statement and is already being echoed. On Jan 22,