title: How to remove domain name from the src URL attribute in Jquery
body: <p>I'm fetching img src attribute into a variable, while doing so I'm getting the complete url of the image, i want to remove domain name from the url</p>
  
  <pre><code>var imgurl = "http://nitseditor.dev/img/home/bg.jpg";
  </code></pre>
  
  <p>I want to have only <code>img/home/bg.jpg</code>. How can I achieve it?</p>