I was trying to pass a string to a JavaScript function.
As it\'s mentioned here - Pass a string parameter in an onclick function
I\'m using this simple co
Change your code to
document.write("click")