if url doesn't end with "/" append "/" to that url using jQuery
<pre><code>if(url.contains(/) at the end of the url){
    //do nothing
}
else if(url.not contains(/) at the end of the url)
    //url must be appended with "/"
}
</code></pre>

<p><code>&lt;a href="www.xyz.com/abc"&gt;&lt;/a&gt;</code> this is my piece of code</p>

<p>the url here is <code>www.xyz.com/abc</code> but i require it as <code>www.xyz.com/abc/</code></p>

<p>if u notice the new url, it is appended by "/"</p>

<p>Thanks</p>
