JQuery not running on click
<p>Morning fellas, im trying to learn jquery, and from hat i know from js, this should be working, but its not... basically onclick of the submit button, it should change the inner html. anyone with more experience have any ideas?</p>

<p>jquery:</p>

<pre><code>$(function() {
    $("#submitButton").click(function(){
        reply();
    })
});

function reply(){
 document.getElementById("#progressBar").innerHTML = "worksbro";
}
</code></pre>

<p>html:</p>

<pre><code>&lt;button type="button" id="submitButton"&gt;Submit&lt;/button&gt;
</code></pre>

<p>if im not mistaken, this should work. it should change the <code>progressBar</code> but the onclick does nothing</p>

<p>To remove some confusion:</p>

<pre><code>&lt;div id = "progressBar"&gt;&lt;/div&gt;
</code></pre>

<p>all the code:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script src="theJS.js"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;

$(function() {
    $("#submitButton").click(function(){
        reply();
    })
});

function reply(){
 $("progressBar").html("worksbro");
}

&lt;/script&gt;


&lt;title&gt;
One neat van page
&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="tableone"&gt;
&lt;?php
//connect to db
include 'connect.php';

//start the table float left
cho '&lt;table&gt;';
echo '&lt;tr&gt;&lt;td style="background-color:#03899C; color:white; text-align:center;"&gt;Driver&lt;/td&gt;
&lt;td style="background-color:#03899C; color:white; text-align:center;"&gt;Van&lt;/td&gt;&lt;/tr&gt;';

//lets get dem drivers and vans
//actually just the vans, realistically. 
$sql= 'SELECT *
FROM Vans';

//make a table float let with driver name and an info(keep it simple)
foreach($conn-&gt;query($sql) as $row) {
  echo '&lt;tr id="'.$row['Owner'].'" style="cursor:pointer;" onClick="more(this.id)"&gt;';
    echo "&lt;td style=\"background-color:#FFFC00;\"&gt;&lt;a href=#&gt;".$row['Owner']."&lt;/a&gt;&lt;/td&gt;";
    echo "&lt;td style=\"background-color:#FFFC00;\"&gt;".$row['Year']." ".$row['Make']." ".$row['Model']."&lt;/td&gt;";
  echo '&lt;tr&gt;';      
}

echo '&lt;/table&gt;';
?&gt;
&lt;/div&gt;

&lt;div id="more"&gt;
&lt;div id="edit"&gt;&lt;/div&gt;
&lt;h1 id="van"&gt;&lt;u&gt;More Info&lt;/u&gt;&lt;/h1&gt;
&lt;div id="vanList"&gt;
&lt;/div&gt;&lt;!--end vanList--&gt;
&lt;/div&gt;

&lt;div id = "progressBar"&gt;
&lt;progress value="0" max="100"&gt;&lt;/progress&gt;
&lt;/div&gt;

&lt;div id="innactive"&gt;
&lt;h3&gt;Innactive Vans&lt;/h3&gt;
&lt;table&gt;
&lt;?php
//connect to the database
include 'connect.php';
//get inactive vans
//my brain is mush right now, so bear with me...
$sql = "SELECT *
FROM Vans
";



foreach($conn-&gt;query($sql) as $row) {
if (!empty($row['Innactive'])){

echo '&lt;tr&gt;&lt;td style="background-color:#03899C; color:white; text-align:center;"&gt;Driver&lt;/td&gt;
&lt;td style="background-color:#03899C; color:white; text-align:center;"&gt;Van&lt;/td&gt;&lt;/tr&gt;';

  echo '&lt;tr id="'.$row['Owner'].'" style="cursor:pointer;" onClick="more(this.id)"&gt;';
    echo "&lt;td style=\"background-color:#FFFC00;\"&gt;&lt;a href=#&gt;".$row['Owner']."&lt;/a&gt;&lt;/td&gt;";
    echo "&lt;td style=\"background-color:#FFFC00;\"&gt;".$row['Year']." ".$row['Make']." ".$row['Model']."                    &lt;/td&gt;";
  echo '&lt;/tr&gt;';
}
}



?&gt;




&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
