title: JQuery URL Validator
body: <p>All,</p>
  
  <p>I am trying to use JQuery's URL Validator plugin. </p>
  
  <p><a href="http://docs.jquery.com/Plugins/Validation/Methods/url" rel="noreferrer">http://docs.jquery.com/Plugins/Validation/Methods/url</a></p>
  
  <p>I have a text box that has a URL. I want to write a function which takes the textbox value, uses the jquery's validator plugin to validate urls and returns true or false.</p>
  
  <p>Something like Ex:</p>
  
  <pre><code>function validateURL(textval)
  {
   // var valid = get jquery's validate plugin return value
    if(valid)
    {
      return true;
    }
    return false;
  }
  </code></pre>
  
  <p>I wanted this to be a reusable function..</p>
  
  <p>Thanks</p>