Hi People,
In one of my systems, someone added a small piece of javascript in order to NOT show the thousand seperator of a number in a form:
It's been a long, long time since this was created and I've always had the feeling that this method isn't quite "the bomb". But, it's been working rather flawless up until now.Code:if(crmForm.all.my_number != null && crmForm.all.my_number.DataValue != null) { crmForm.all.my_number.value = crmForm.all.my_number.DataValue; }
One user (only one) gets a NaN displayed. With exactly the same data, all other users see the right values...
Is there a better/nicer/less buggy way to get this done and/or what could cause this behaviour for this single user?
thanks in advance!
Jeroen


Reply With Quote
Bookmarks