A simple example of jquery's implementation of the pop-up layer mask effect

Source: Internet
Author: User

A simple example of jquery's implementation of the pop-up layer mask effect

This article describes a simple example of how jquery implements the pop-up layer mask effect. For more information, see.

The Code is as follows:

<Input type = "button" value = "Advanced Search" id = "click_test4"/> ";

Var content4 = "<center> Advanced Search </center> <form action ='' method = 'post' id = 'formusersupersearch'>"

+ "Username: <input type = 'text' name = 'username' id = 'username'>"

+ "<Br/> email: <input type = 'text' id = 'email '/>"

+ "<Br/> unit: <input type = 'text' id = 'unit '/>"

+ "<Br/> tel: <input type = 'text' id = 'tel'/>"

+ "<Br/> mobile phone: <input type = 'text' id = 'mobile'/>"

+ "<Br/> <input type = 'button 'onclick = 'usersupersearche () 'value = 'cancel'/> <input type = 'click' onClick = 'usersupersearch () 'value = 'OK'/>"

+ "</Form> ";

T $ ('click _ test4'). onclick = function (){

// Among them, click_test4 is the above button id

// Content4 indicates the content above the div to be displayed.

TINY. box. show (content4, 0,350,250, 0 );

};

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.