You are here: Javascript/PHP interaction « PHP Programming Language « IT news, forums, messages
Javascript/PHP interaction

Posted by Brad Everman on 12/11/06 14:49

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация