javascript errors
-
hi!
i tried this:<script type=’text/javascript’>
$(‘#5’).click(function(){
$(‘#give-amount’).val(‘5,00’);
});$(‘#10’).click(function(){
$(‘#give-amount’).val(‘10,00’);
});</script>
but i have some errors:
on line1 (<script type=’text/javascript’>)thisExpected an identifier and instead saw ‘<‘.
Missing “;” before statementAnd on last line (</script>) this:
Unclosed regular expression
unrecoverable syntax error. (100% scanned).This script works fine everywhere! but not in my wordpress site.
Maybe for these errors?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘javascript errors’ is closed to new replies.