jQuery not working on one PC and working on another
<p>I have the following jQuery + PHP code that works on one PC but not on the other.</p>

<p><strong>Non-working:</strong></p>

<pre><code>&lt;head&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="javascripts/hrscripts/sortable.js"&gt;&lt;/script&gt;
  &lt;link href="/css/select2.css" rel="stylesheet"/&gt;
  &lt;script src="/javascripts/select2.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    $(document).ready(function() {
      $("#select_employee").select2();
    });
  &lt;/script&gt;
&lt;/head&gt;

&lt;?php
  $allemp=$this-&gt;AllEmployees;
  echo "&lt;form method='post' action='' id='employeesselection'&gt;";
  echo "&lt;select name='select_employee' id='select_employee'&gt;";
  echo "&lt;option value=''&gt;Select an employee...&lt;/option&gt;";

  foreach($allemp as $row) {
    $selected = ($row['Id'] == $_POST['select_employee'])?'selected="selected"':'';
    echo '&lt;option '.$selected.' value="'.$row['Id'].'"&gt;'.$row['Etunimi'].' - '. $row['Sukunimi'].'&lt;/option&gt;';
  }
  echo "&lt;/select&gt;";
</code></pre>

<p><strong>Working:</strong></p>

<pre><code>&lt;head&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" &gt;&lt;/script&gt;
  &lt;link href="css/select2.css" rel="stylesheet"/&gt;
  &lt;script src="select2.js"&gt;&lt;/script&gt;
  &lt;script&gt;
    $(document).ready(function() {
      $("#select_employee").select2();
    });
  &lt;/script&gt;
&lt;/head&gt;

&lt;?php
  include "db.php";
  $employees=mysql_query("SELECT * FROM asiakas");

  echo "&lt;form method='post' action='' id='employeesselection'&gt;&lt;select name='select_employee' id='select_employee'&gt;";

  while($row=mysql_fetch_array($employees)) {
    $selected = ($row['Id'] == $_POST['select_employee'])?'selected="selected"':'';
    echo '&lt;option '.$selected.' value="'.$row['Id'].'"&gt;'.$row['Etunimi'].' - '. $row['Sukunimi'].'&lt;/option&gt;';
  }
  echo "&lt;/select&gt;
</code></pre>

<p>It is almost the same code. I cant figure out what I did wrong.</p>
