Javascript/PHP interaction
- From: Brad Everman <deathdog@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Dec 2006 14:49:28 +0000 (UTC)
Suppose I have a bunch of DOM objects (namely images) and want to pass the
attributes of these DOM objects to a PHP script. What is the easiest way
to accomplish this? Basically, I have a bunch of images that can be
manipulated by Javascript and want to determine their final locations
after the user is done moving them. For instance, one of the attitbutes
might be dd.elements.circle1.h, where h is the height of the image named
circle1. This height is set when the page is loaded, but may change as the
user manipulates the circle. Would I be better off just writing a bunch of
form data then passing this to PHP? I vaguely remember seeing something
about manipulating session variables with Javacript.
Thanks for any help.
.
- Follow-Ups:
- Re: Javascript/PHP interaction
- From: Christoph Burschka
- Re: Javascript/PHP interaction
- Prev by Date: Re: [newbie] How to avoid FFox's "The page you are trying to view..."?
- Next by Date: Re: Storing files on a database?
- Previous by thread: faster way to get from SQL database into array
- Next by thread: Re: Javascript/PHP interaction
- Index(es):
Relevant Pages
|
|