snowysweb
05-14-2009, 05:38 AM
Hi, i know very little of javascript and was hoping that someone could help. i need a script that on load, every image that is within a certain textarea would be assigned a random id (id="img_bd53k3"). Any help would be much appreciated.
Old Pedant
05-14-2009, 06:09 AM
HUH?? You can't have images "within a certain textarea". In fact, you can't have *ANY* other HTML tags between a <textarea> and its matching </textarea>.
Want to try again???
Philip M
05-14-2009, 07:07 AM
Hi, i know very little of javascript and was hoping that someone could help. i need a script that on load, every image that is within a certain textarea would be assigned a random id (id="img_bd53k3"). Any help would be much appreciated.
Why on earth do you "need" this?
Old Pedant
05-14-2009, 07:20 AM
Now, now, Philip: That's MUCH too sensible a question.
(Why didn't I think to ask it?)
adios
05-14-2009, 07:57 AM
Why on earth do you "need" this?
Maybe she's not from around here ...:eek:
adios
05-14-2009, 08:39 AM
... apparently now trying his/her luck in The DOM Zone (http://www.codingforums.com/showthread.php?t=166279) ...
Philip M
05-14-2009, 10:01 AM
.. and in PHP
http://www.codingforums.com/showthread.php?t=166253