Posted on 2006-05-12
I have one AJAX application. As you all know, AJAX will send ansynchronous request to the server so that it does not need to refresh the page. However, I have one problem. As I send the values back to my JSP page, I want the value in textbox to be formatted to currency so that 20.7773 becomes €20.78.
Well, I can find many function freely available to do that. However, after the value is converted and formatted, I change the value in textbox again and the value is sent back to the server. It reports that it is not valid number as it contains €
Can you all suggest me the best way to tackle this problem?