jQuery encode blank space in ajax query string
<p>I'm using an API which has blank spaces in the query string. </p>

<pre><code>stationString=KDEN%20KSEA
</code></pre>

<p>In my Ajax query i'm using it like this:</p>

<pre><code>var station ="KDEN%20KSEA"
$.ajax({
type: "GET",
url: 'https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=tafs&amp;requestType=retrieve&amp;format=xml&amp;hoursBeforeNow=3&amp;timeType=issue&amp;
data: {'stationString': station},
</code></pre>

<p>My decoded URL in my console looks like this:</p>

<pre><code>stationString:KDEN%2520KSEA
</code></pre>

<p>When I set my station variable like this:</p>

<pre><code>var station ="KDEN KSEA"
</code></pre>

<p>My decoded URL in my console substitutes the blank space with a "+".</p>

<p>How can I pass a blank space in my string?</p>