Difficult, to my understanding, onsubmit is only valid in the 'form' tag, in fact the button press will not trigger a submit method at all. What is the actual flow you are looking for here?
Don
WHITEPAGES.COM |INC Everything I've learned in life can be summed up in a small perl script!