JQuery updating label

Posted by Zaps on Stack Overflow See other posts from Stack Overflow or by Zaps
Published on 2010-05-31T10:30:06Z Indexed on 2010/05/31 10:32 UTC
Read the original article Hit count: 140

Filed under:
|

Hi,

I have 2 textboxes and a label on my page. The 2 textboxes will contain numeric values. The label text will be the product of the 2 textbox values. Is there a way to do this using JQuery so that the value can get updated without having to do a postback?

Also the textboxes may contain values with commas in it: e.g. 10,000. Is there a way I can extract the number from this so that it can be used to calculate the label value.

Thanks in advance,

Zaps

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery