Can someone please help?
I am getting an error with the following code. Its doing a test to see if an element exists on a form and if it does it should be getting the value form the first array and giving it the src from the second array, the code is not in a function as I would like it to run every time..
I would suggest declaring it as a function and then setting it to run 'onload' to ensure that it executes after the page finishes loading. Otherwise, I'm not sure you can garuntee that the elements you are looking for actually exist yet.