Sample javascript code to format a input field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
RIGOLETO
Forum Commoner
Posts: 37
Joined: Fri Nov 20, 2009 10:13 am

Sample javascript code to format a input field

Post by RIGOLETO »

Hi there,

I need a sample of jave script to format a numeric input field, just I need to show the $ simmbol and the field should put two decila by defaul, just like this sample

$1,200.23

Thanks
User avatar
manohoo
Forum Contributor
Posts: 201
Joined: Wed Dec 23, 2009 12:28 pm

Re: Sample javascript code to format a input field

Post by manohoo »

And why do you post your javascript question in the PHP section?
Post Reply