hi folks,
i am new at JS and jQuery. so i had this dialog
Code JavaScript:
<script>
    $(function() {
        $("#dialog" ).dialog({autoOpen:false})
        $('#tos').click(function() {
            $('#dialog').dialog('open');
        });
    });
</script>
and when i click on link. it doesn't open
Code HTML4Strict:
<a href="#" onclick="tos">Terms of Services |</a>
where am i going wrong?