Validate URL Field using Jeditable plugin
<p>i want to validate a URL. i am using jquery plugin jeditable. i want when some one click on the field and enter an invalid URL it show error.</p>

<p>here is my code. how can i modify . please help</p>

<pre><code>$(function() {
 $("#url").editable(
         function(data)
         {seller=new BHSeller();
          seller.updateSellerOfferGeneric('need_url',data,&lt;?php echo $need_id?&gt;);}
         , { 
      indicator : "&lt;img src='layout/images/loader.gif'&gt;",
      type : 'text',
         width:'450px', 
          select : true, 
          submit : 'Save', 
        cssclass : "editable", 
        style  : "display:inline"
  });
});
</code></pre>

<p>how can i add validation in the above code.</p>
