passing url in another url
<p>i have this snippet:</p>

<pre><code>$('#button1').click(function(){
                window.location = "details.php?trans=Automatic&amp;&amp;mileage=19,695&amp;&amp;eng=6&amp;&amp;ext=White Platinum Metallic&amp;&amp;stock=45411&amp;&amp;vin=2FMGK5D89DBD08967&amp;&amp;location=Palm Beach, FL&amp;&amp;price=$28,999&amp;&amp;photo=http://content.homenetiol.com/1535/67692/165x10000/2013-Ford-Flex-Limited/d0dbf839ecc3492a850bfc73a6d9099d.jpg";
                });
</code></pre>

<p>i want to pass the url of image <code>photo</code> in the url  but it didn't work</p>

<ul>
<li>why?</li>
<li>how can i fix it?</li>
</ul>
