Combining onchange and onBlur
Hi:
Have a unusual siuation I need help to resolve.
On an item (test field) I am using onBlur to call a javascript function to convert a value to currency.
I also have onchange=doSubmit to submit the page when the value changes.
Independantly they work great, however, when the onchange fires is takes away the currecy formatting.
For example
You enter 4 and tab out it displays as $ 4.00 - which is what I want.
Now, you change the value to 5 - the page submits (this is also what I want)
But, when the page reloads, the value is 5 and I need $ 5.00
How can I do this. I have both onchange and onBlur in my HTML Form Element Attribute.
Thanks for any help.
Bruce