vivek vermani 0 Newbie Poster

I have code like this that changes the image when the user clicks on the image.

document.getElementById('searchButton').src='search_gryd.gif';

But its not working with safari browser.

Can anyone suggest reason or resolution for this.

Thanx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.