set value in accounting format
<p>I am using accounting.js and i need to format value dynamically.  </p>

<pre><code>  $('#&lt;%=txtamount1.ClientID %&gt;').bind('keydown keyup keypress focus blur paste change', function () {

                        result = accounting.formatMoney(
                                $('#&lt;%=txtamount1.ClientID %&gt;').val(),
                                '',
                                2,
                                ","
                            );
                        $('#&lt;%=txtamount.ClientID %&gt;').val(result);

                    });
</code></pre>
