HighDots Forums  

Combine JS on Blur to reformat

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Combine JS on Blur to reformat in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zwi2000
 
Posts: n/a

Default Combine JS on Blur to reformat - 07-18-2004 , 12:38 AM






I have this two pieces of code, how can I combine them to use it on one
field ?

onBlur="javascript:this.value=this.value.toUpperCa se()"

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


Z



Reply With Quote
  #2  
Old   
T.Pastrana - 4Level
 
Posts: n/a

Default Re: Combine JS on Blur to reformat - 07-18-2004 , 01:28 AM






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

--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------



"Zwi2000" <zwi2000 (AT) hotmail (DOT) com> wrote

Quote:
I have this two pieces of code, how can I combine them to use it on one
field ?

onBlur="javascript:this.value=this.value.toUpperCa se()"

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


Z





Reply With Quote
  #3  
Old   
Zwi2000
 
Posts: n/a

Default Re: Combine JS on Blur to reformat - 07-18-2004 , 09:54 AM



Excellent, thanks !

Z


"T.Pastrana - 4Level" <aaaa (AT) aaaa (DOT) com> wrote

Quote:
onblur="javascript:this.value=this.value.toUpperCa se().replace(/[ -]/g,'')"

--
Regards,
..Trent Pastrana
www.fourlevel.com

-----------------------------



"Zwi2000" <zwi2000 (AT) hotmail (DOT) com> wrote in message
news:cdcusv$sp7$1 (AT) forums (DOT) macromedia.com...
I have this two pieces of code, how can I combine them to use it on one
field ?

onBlur="javascript:this.value=this.value.toUpperCa se()"

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


Z







Reply With Quote
  #4  
Old   
Mick White
 
Posts: n/a

Default Re: Combine JS on Blur to reformat - 07-19-2004 , 10:31 AM



onblur="this.value=this.value.toUpperCase().replac e(/[ -]/g,'')"

Mick

Zwi2000 wrote:

Quote:
I have this two pieces of code, how can I combine them to use it on one
field ?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.