Stuart Graham wrote:[color=blue]
> Thanks for the reply,[/color]
Appreciation would be better expressed in a form that followed the
well-established Usenet message construction and formatting conventions,
particularly as recognised by this group. Read:-
<URL:
http://www.jibbering.com/faq/ >
- else you will shoot yourself in the foot.
[color=blue]
> I have looked at doing it via the onSubmit, but i am
> unsure of the code for it? Can you help?[/color]
I could show you code that performs the action that you propose, but
that would not represent 'help' as this is not something that should
ever be done with a javascript hack (particularly as you have
server-side Java available for the task).
[color=blue]
> (There are reasons for doing it at the client side rather
> than server side)[/color]
If you have reasons for wanting to do this on the client you should
state what they are. I cannot imagine any valid reason for doing so, and
so suspect that any reason you may have is based on a misconception. The
greatest help you could receive will be to have that misconception
corrected so you can do this job properly.
Richard.