View Single Post
Old 11-19-2005, 07:46 PM   #1 (permalink)
susanh
Junior Member
 
Join Date: Jun 2005
Posts: 29
Default strip character from javascript form data

Hello,

One of the fields in my form is an ip address. How can I strip the dots
from the result. I tried to take the . out of the string but it removes all the characters... how do I take out .'s? :

ipStrip = ip.replace(/./g,""); = removes all

tia
susanh is offline   Reply With Quote
Sponsored Links