SyntaxFix
Write A Post
Hire A Developer
Questions
The onclick attribute of a button takes a string of JavaScript, not an href like you provided. Just remove the "javascript:" part.
onclick