jquery Popupdialog using the method of loading JSP pages _jquery

Source: Internet
Author: User

As shown below:

<pre name= "code" class= "HTML" >	//load all menus
		initallmenupage:function (obj) {
			var select = $ (' # g402880312788b836012788b99cb0010d tbody tr.selected '). attr (' value ');
			if (select) {
				popupdialog (obj.id+ "_dialog", "module info", globalurl+ "web/default/model_child.jsp", "M", "650");
			} else{
				alert (select a record);
			}
		,
Note: HTML-related properties in the JSP are removed, head, body, header file
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
do not remove these things, loading JS when there will be problems, the first load will not be a problem, when you load JS the second time, he will go cached on the page of JS, so just keep the code fragment

The above is a small series for you to bring the jquery Popupdialog using the method of loading JSP page all the content, I hope that we support cloud Habitat Community ~

Related Article

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.