Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2007, 08:11 AM
Authorized User
 
Join Date: Dec 2006
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Currency Format

Hi All,

I have a amount textbox in Asp.net2003. When user types in the textbox, it converts the text uin numeric form inserting commas,dots etc using this script.


But if user highlights the text and starts typing again, the text is appended to the previous one rather than over writting it.

Please can someone help me to add that functionality or change the script in a way that when user highlights the text and types again the new typed text over writes the highlighted one.

I am new to JS so i really cant figure thisone out.

Thanks a lot
Kamal
 
Old March 29th, 2007, 08:13 AM
Authorized User
 
Join Date: Dec 2006
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am sorry i forgot to post the link of java script i am using of currency format.

http://javascript.internet.com/forms/auto-currency.html

Thanks
Kamal





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set a value in datagrid to currency format? jhansib4u ADO.NET 0 December 12th, 2007 01:43 AM
datagridview currency format rounds off cents TomH VB Databases Basics 2 September 12th, 2006 11:24 AM
Currency Format heerajee Pro PHP 2 June 5th, 2006 02:24 AM
format currency civa Access 3 December 16th, 2005 03:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.