Using the following code to remove the first leading white space in a form field, can someone give me a clue as to how I can remove more than one space. Thanks
PHP Code:
var a = document.form.field
var b = a.value.replace(/^ /,"");
a.value = b;
Social Networking Bookmarks