How to give variable link to the load function in javascript?
<p>I am using javascript. I wanted to ask how can i pass variable link to the .load() function of javascript.</p>

<pre><code>var current_link = location.href;

$('#alerts_div').load(current_link '#alerts_div');//to pass div content in page load
</code></pre>

<p>But this is not working? can anyone help please?</p>
