Posted by VK on 01/19/07 08:33
petersprc wrote:
> It seems your javascript is trying to reference a variable using the $
> sign, which is incorrect syntax. For example, "alert($k)" is not valid
> javascript.
No, $k is perfectly valid identifier in JavaScript - though it is not a
sigil here but just a part of the name. The reason of troubles as I
suspect but can be wrong is that server-side PHP and client-side
JavaScript are taken as being able to communicate in one "synchronized
space" - that's a very common mistake in both PHP and ASP.
To OP: see my response at c.l.j.
[Back to original message]
|