ltrim with jQuery?
<p>I am using jQuery to capture an encoded URL. </p>

<p>I looks something like: #?var=asdasdasdasdasd</p>

<p>I need to strip "#?" at the beginning of the string. In PHP I'd use ltrim. How can I do this with jQuery or plain JS?</p>

<pre><code> $("#myLink").click(function(){
       var myUrl = $(this).attr("href");
       var cleanUrl = ....

 }
</code></pre>
