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