Javascript/PHP interaction




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.
.



Relevant Pages

  • Rotating Images from a text file using PHP
    ... The images shoult have their own hyperlink & alt tag. ... The PHP Script should be able to retrieve the alt tag and hyperlink ...
    (php.general)
  • Re: PHP images and time
    ... I want to add a php script to my page that changes my collection of ... images based on the time of my computer. ... change the picture on the site, but it should not be random. ... img tag on your page. ...
    (php.general)
  • Re: new to php ... POST variables?
    ... I am trying to send a bunch of data via a single POST message, ... wireless device to a PHP script on my server. ...
    (comp.lang.php)
  • Re: piecemakers trains advice?
    ... Stayed completely away from that bunch. ... I bought the "photo transfer" images, but scanned them in and printed ...
    (rec.crafts.textiles.quilting)
  • Delete temporary images after loading website
    ... I am writing a PHP script which generates some charts using gnuplot. ... This generates quite a large number of temporary image files. ... Everything I have tried so far resulted in that the images were not ...
    (comp.lang.php)