Hi I have a currency text field.When I write the number one by one,I want that the textfield formats automatically the numbers according to specified thosand seperator and decimal seperator.I found a website(http://jquerypriceformat.com/) to format number by using jquery.Only thing what I need to do is to write below code and add some jquery files to path.But there is a problem in ext.net.How to call jquery function priceFormat in Ext.Net succesfully.How to overcome the problem.

Thanks in advance,


HTML
<input type="text" name="example2" id="example2" value="123456">

JS
$('#example2').priceFormat({
    prefix: 'R$ ',
    centsSeparator: ',',
    thousandsSeparator: '.'
});