Skip to Content
0
Apr 28, 2010 at 08:07 AM

Delete leading zeros

505 Views

Hi,

I need to drop out leading zeros of data in javascript.

I am combining several fields of data into one output textfield. One of these data elements is salesman number (0000012345) with leading zeros and we do not want to display those.

Any way of achieving this with javascript?

Regs

Pekka