autoNumeric-2.0-BETA

last update 2013-09-11 GMT 9:00 PM

Key features:

New "unSet" method - displays the raw value of the input.

Modified "set" method so the form inputs can easily reset after post.

New "eDec" option - this displays expanded decimal places when the input has focus.

New "aStor" option - when true allows the "eDec" value to be retained via sessionStorage on compatible browsers of a session cookie in EI 6 & 7.

New "rVal" option - this displays the number with decimal only when the input has focus.

New support for "Lakh Crore"

Modified the "get" method.

Demonstration showing the new features:

 Input Demonstrates HTML 5 data & value
eDec when aStor=true value="1233333.888881" data-a-sign="$" data-e-dec="5" data-a-stor=true
eDec when aStor=false value="-10000,009999" data-e-dec="10" data-a-sep="." data-a-dec="," data-v-min="-111111" data-n-bracket="(,)"
rVal value="12345" data-a-sign=" $" data-p-sign="s" data-r-val=true
rVal value="1237658.98798798" data-a-sign="$ " data-r-val=true
eDec, aStor=true & rVal value="1234.98798798" data-a-sign="$ " data-e-dec="10" data-a-stor=true data-r-val=true ** see update button
"Lakh Crore" value="123456789123" data-a-sign="Rs. " data-d-group="2"
   
   
     updates the input demo with eDec & rVal to data-a-sign="€ " data-e-dec="5" data-r-val=false data-a-dec='"," data-a-sep=".'

Text " contenteditable" - this is on my wish list is to eventally get autoNumeric to work here - the issue is there is no reliable method to place the ceret.

1000.00