Combine JS on Blur to reformat

message from Zwi2000 on 18 Jul 2004
I have this two pieces of code, how can I combine them to use it on one
field ?

onBlur="javascript:this.value=this.value.toUpperCase()"

onblur="this.value=this.value.replace(/[ -]/g,'')"

Z
 
T.Pastrana - 4Level replied to Zwi2000 on 17 Jul 2004
onblur="javascript:this.value=this.value.toUpperCase().replace(/[ -]/g,'')"
 
Zwi2000 replied to T.Pastrana - 4Level on 18 Jul 2004
Excellent, thanks !

Z

"T.Pastrana - 4Level" <aaaa@aaaa.com> wrote in message
news:cdd1pe$1ja$1@forums.macromedia.com...
onblur="javascript:this.value=this.value.toUpperCase().replace(/[ -]/g,'')"
 

Archived message: Combine JS on Blur to reformat (Macromedia Dreamweaver Web Design)