[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, 4:12

[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 $(function () { $("#someDiv").append("Some value is:"); }); Nikola wrote: Hello, I am trying to figure out how to .append a php session $var to a given div. I'm