Пользовательские параметры функции передаются в формат строки, и метод передачи
1: Используйте это, чтобы пройти
2: цитаты по умолчанию
3: Escape excembers (HTML означает «двойные цитаты», обозначает отдельные кавычки, Direct /«в JavaScript и Java General Escape 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 (" Привет три ")"> </form> </body> </html>