Home >Web Front-end >JS Tutorial >Some good JS custom functions page 1/2_javascript skills
1. dayin()
Function: Create a new page and print the content with the id of dayin, which can solve the problem of printing a certain page Some content issues.
Usage: Enclose the content to be printed, and then define the event in a button
Copy code The code is as follows:
function dayin()
{
var code="
where code=code.replace(/