[jQuery] Re: How do I add/subtract currency with jquery?

2009-02-07 Thread jQuery Lover
You might find Masked Input plugin useful: http://digitalbush.com/projects/masked-input-plugin/ Also on creating your custom jQuery plugins: http://jquery-howto.blogspot.com/search/label/plugin On Sat, Feb 7, 2009 at 2:10 AM, webopolis krodenho...@gmail.com wrote: I've done this with

[jQuery] Re: How do I add/subtract currency with jquery?

2009-02-06 Thread sem101
You don't need jQuery for math, it's simple JavaScript. But -- you can use jQuery to get elements of your forms var qty = parseInt($('input#qty').val()) || 0; var product1 = parseFloat($('input#product1').val()) || 0; var discount = parseFloat($('input#discount').val()) || 0; var grandtotal

[jQuery] Re: How do I add/subtract currency with jquery?

2009-02-06 Thread webopolis
I've done this with straight Javascript for years, I just thought with all the other cool things that have been done with jquery, there would be a plugin for this as well. Thanks for the help. Kevin On Feb 6, 3:52 pm, sem101 semiotics...@gmail.com wrote: You don't need jQuery for math, it's

[jQuery] Re: How do I add/subtract currency with jquery?

2009-02-06 Thread sem101
If you're JS savvy, often times it's better to write your own jQuery functions than rely on an over-bloated plugin. However, you might find some of the plugin tutorials interesting on this page... http://docs.jquery.com/Tutorials Good luck! On Feb 6, 4:10 pm, webopolis krodenho...@gmail.com