jquery clickable div

Posted by dolomite on Stack Overflow See other posts from Stack Overflow or by dolomite
Published on 2010-04-12T17:17:21Z Indexed on 2010/04/12 17:23 UTC
Read the original article Hit count: 233

Filed under:

hi,

<div class="clickme"> click here </div>

I want to make that div clickable and it should trigger following function:

<script type="text/javascript">
$(document).ready(function(){
    $("#generate").click(function(){
        $("#quote p").load("script.php");
    });
});
</script>

how can I make that work?

© Stack Overflow or respective owner

Related posts about jQuery