PDA

View Full Version : assign every image with id if not there


snowysweb
05-14-2009, 05:36 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.

Philip M
05-14-2009, 09:57 AM
Rule 1.2) Do not crosspost - CodingForums.com is divided into various categories. When initiating a thread, always locate the most appropriate category, and post your question only ONCE, in that category. Do not post the same question in multiple categories.

A person with 189 posts ought to be familiar with the forum rules and guidelines by now.