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.
I will have to load the code in the code behind onload as the body tag is already calling various bits of javascript and i think you are right as I will have to wrap the code in a function first.
Thanks.
Bookmarks