Custom function parameters are passed into string format, and the method of passing
1: Use this to pass
2: Quotes default
3: Escape characters (html stands for "double quotes, ' stands for single quotes, direct /" in javascript and Java general escape character set)
<html> <head> <script language="LiveScript"> function print(arg){ alert("Hello!"+arg); } </script> </head> <body> <form> <input type="button" name="Button1" value="first" onclick="print(this.str)" str="hello one"> <br><br> <input type="button" name="button2" value="second" onclick=print("Hello two")> <br><br> <input type="button" name="button3" value="Third" onclick="print ("Hello three")"> </form> </body> </html>