I have a text field for a user to enter a URL. When I call the form data with PHP I'm adding the http:// into the link like this: <a href="http://' . $url . '">

I'm wondering if javascript can help me check to see if the user has entered the http:// and if so, remove it.