


How to add event for close button of div window_html/css_WEB-ITnose
I want to execute a method when the close button in the upper right corner of the div window is clicked to close the div. How to do it?
This is how I initialize the div
easyloader.load(["moveFixedDialog", "combogrid", "validatebox",
"combobox", "form", "blockUI", "messager", " validMethods",
"datebox", "datagrid" ], function () {
$("#evaluateDiv").dialog({
modal:true,
closed:true,
width: 300,
height:250,
top:160
});
});
Reply to discussion (solution)
Try configuring the close callback. It should be supported. If not, check the API to see how to configure the close callback.
close:function(){
alert('close');
}
You are using a plug-in. It is more convenient to call the plug-in itself. Find it yourself

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to set Google Chrome to open a new window every time? Vicious users like to use Google Chrome for work or study. This browser is safe, fast, and convenient. Different users have different preferences for using browsers. Some users like to open Google Chrome as a new window to facilitate quick searches. , so how to set it up. Next, the editor will bring you a tutorial on setting up a new window every time you open Google Chrome. Friends who are interested can come and learn it. Tutorial on setting up a new window every time Google Chrome opens 1. Double-click Google Chrome on your computer desktop to open it, then click on the [three dots] icon in the upper right corner. 2. Find the [Settings] option and enter the page (as shown in the picture). 3. Go to Google Chrome

How to use Vue to implement button countdown effects With the increasing popularity of web applications, we often need to use some dynamic effects to improve user experience when users interact with the page. Among them, the countdown effect of the button is a very common and practical effect. This article will introduce how to use the Vue framework to implement button countdown effects and give specific code examples. First, we need to create a Vue component that contains a button and countdown function. In Vue, a component is a reusable Vue instance, and a view will
![Change the power button action on Windows 11 [5 Tips]](https://img.php.cn/upload/article/000/887/227/169600135086895.png?x-oss-process=image/resize,m_fill,h_207,w_330)
The power button can do more than shut down your PC, although this is the default action for desktop users. If you want to change the power button action in Windows 11, it's easier than you think! Keep in mind that the physical power button is different from the button in the Start menu, and the changes below won't affect the operation of the latter. Additionally, you'll find slightly different power options depending on whether it's a desktop or laptop. Why should you change the power button action in Windows 11? If you put your computer to sleep more often than you shut it down, changing the way your hardware power button (that is, the physical power button on your PC) behaves will do the trick. The same idea applies to sleep mode or simply turning off the display. Change Windows 11

In iOS 17, Apple not only added several new messaging features, but also tweaked the design of the Messages app to give it a cleaner look. All iMessage apps and tools, such as the camera and photo options, can now be accessed by tapping the "+" button above the keyboard and to the left of the text input field. Clicking the "+" button brings up a menu column with a default order of options. Starting from the top, there's camera, photos, stickers, cash (if available), audio, and location. At the very bottom is a "More" button, which when tapped will reveal any other installed messaging apps (you can also swipe up to reveal this hidden list). How to reorganize your iMessage app You can do this below

There could be several reasons why your Windows laptop won't boot. Memory failure, dead battery, faulty power button, or hardware issues are all common causes. Here are some solutions to help you resolve this issue. Laptop won't turn on after pressing the power button If your Windows laptop still won't turn on after pressing the power button, here are some steps you can take to resolve the issue: Is your laptop fully charged? Perform a hard reset to clean your laptop Reseat the memory Transparent CMOS type battery Take your laptop for repair. 1] Is your laptop fully charged? The first thing to do is to check if your laptop is fully charged. Laptop won't start if battery is drained

How to Restart iPhone with Face ID Follow the steps below to learn how to restart iPhone with Face ID. This method is suitable for restarting iPhone14, iPhone13, iPhone12, iPhone11, iPhoneXS and iPhoneX. 1. Press and hold the power button and either volume button until the "Slide to power off" option appears. 2. Drag the slider to the right and your iPhone will turn off. 3. Now, wait for 30 seconds and hold the power button until the Apple logo appears on the screen. How to Restart iPhone Using TouchID Before iPhoneX was released, restarting iPhone was easier than current models because

What should I do if there is no response when clicking the web button in IE browser? If there is no response when we click the web button, we can set it in the compatibility view! When some friends are using the IE browser, they find that the browser will not respond when clicking the button on the web page. In this way, we cannot use the functions of the web page. How can we set it up? The editor has compiled the IE browser below. How to solve the problem of the browser not responding when clicking the web button? If not, follow me and read on! IE browser does not respond when clicking the web button. Solution: 1. Open IE browser, click the [Tools] button on the operation bar, and click [Compatibility View] settings, as shown in the figure. 2. In the [Compatibility View] setting page, click the [Add] button on the right and fill in the website.

In the iPhone16 series, the Pro series screen will become larger. As for the iPhone16 standard version and iPhone16Plus, they will remain almost the same as the iPhone15 and 15Plus currently on the market, with only a slight weight increase of 2g. This also means that Apple does not plan to re-launch iPhone mini, but will continue to launch iPhone Plus. Adding an Action Button iPhone 16 will also have some new features, such as the Action button of the iPhone 15 Pro series, or even a new “Capture button”. Changed to iPhone12 camera vertical arrangement iPhone16 standard version and iPhone
