1. You can set the Id as a variable and remove the quotation marks together. 2. Variables should be defined in advance (var id= ""), indicating the id attribute values of tags (such as div input) in web pages. 3. You should define them with js. 4. You can define them as function parameters outside js function body, function and, and you should pay attention to the order of html execution, preferably in.
PS: for example: