Hi,
i have added to the beginning of my code this great script below.
<script type="text/javascript">
alert("pippo");
</script>
And it works: when i load the page it shows a small window with "pippo".
If i I add this below after the alert:
$(document).ready(function()
// validate signup form on keyup and submit
$("#foo").validate({
rules: {
'telephone[number]': {
number: true
}
},
messages: {
'telephone[number]': "Please enter a telephone number"
}
});
});
and reload the page it doesn't show "pippo" any more..Why?
Regards
Javi