onclick="function()" means that only the function will be executed, but the return value in the function will not be returned
onclick = "return function()" is to execute the function and return the return value in the function
js onclick=‘save()’ 和 onclick='return save()'
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325367339&siteId=291194637
Recommended
Ranking