Hello,
Try using onfocus="BlankSearchbox()"
For the image, change onClick to onclick, I have seen cases when that causes issues. Then this.document.frmMain.xchr
First, we can get rid of this. as document. is getting the page element anyway, then let's make sure the items being used all have names and not just ids being called in the command. Lastly if the function submit() is defined in the header or external .js name it something else, as it is a call in javascript that needs an object to be called on. Otherwise, if you meant to submit the form mentioned in the previous command, use: document.frmMain.submit().
Also this coed should help:
Main Topics
Browse All Topics





by: kworksPosted on 2009-10-27 at 10:50:47ID: 25675348
Yeah :D
js/events_ advanced.h tml
owser.
I had the same trouble once and one of my genius developer friends showed me the way. IE does not pay any attention *on its own* to OnClick events. The only way to do it will be very costly, but it will work on all browsers
http://www.quirksmode.org/
You will have to re-write your JS to handle the browser and attach the right-way-for-the-right-br
Bowser-Mania :D :D