Jquery, Onclick, and Ajax
<p>I have fiddled with this with absolutely no progress or luck. If I take out the .ajax it works fine but with the .ajax nothing fires, not even the random testing alerts. Can you see what I have done wrong with this? I have tried to follow the Jquery doc's. The PHP works. </p>

<pre><code>&lt;script type="text/javascript"&gt;
jQuery(document).ready(function ($) { // wait until the document is ready
$('div#chatroom').click(function(){
$.ajax({
    type: 'GET',
    url: 'chatget.php',
    data: { chatroomid: = '&lt;?php echo $chatroomid; ?&gt;'},
    datatype: 'html',
    cache: 'false',
    success: function(response) {
        $('#chatroom').append(response);
        alert('Load was performed.');
    },
    error: function(){
        alert('Fuuuuuuuuuuuuuu');
    }
}); // End Ajax  

alert('Fail');

}); // End onclick
});

&lt;/script&gt;
</code></pre>
