Parse HTML in GET with javascript to file
<p>I have a function which calls a script with this information in the GET:</p>

<pre><code>color = color_class(statistics[0]);
class = get_class(statistics[0]);
class = '&lt;font style="color:'+color+';"&gt;'+class+'&lt;/font&gt;';

switch(stage){
    case 1: call_file('tut_class.php?choice='+class,'main'); break;
}
</code></pre>

<p>This looks like this:</p>

<pre><code> &lt;font style="color:#0d84b6;"&gt;Class One&lt;/font&gt;
</code></pre>

<p>But in the Console it shows like this:</p>

<pre><code>tut_class.php?choice=%3Cfont%20style=%22color:   //the rest is missing
</code></pre>

<p>And so i cannot obtain it in the PHP script to display. Is there a way to solve this ?</p>
