[Javascript] Changing an Objects ID and Name

Mike Dougherty mdougherty at pbp.com
Wed Sep 6 08:11:00 CDT 2006


wouldn't it be easier just to swap their src attributes?

On Wed, 6 Sep 2006 08:56:00 -0400
  Terry Riegel <riegel at clearimageonline.com> wrote:
> Hello,
> 
> I would like to swap out an image in an application I am writing.  Basically I want to swap two 
>image tags, the trick is I want to swap  their ID and NAME tags also.
> The important thing Is I would like to swap all of the attributes  out. i.e. 
>width,height,id,name,src



More information about the Javascript mailing list