Use the dialog of jQueryUI to implement a prompt function.
It is the most common function in program development. Insus. NET uses the dialog of jQueryUI to implement one. It can define the title and dialog box size.
In the ASP. net mvc environment.
Create two Action operations on the October controller. One is DialogDemo for the view and the other is ProcessData for processing:
Now write the jQuery code:
Use
$ (This). attr ("value ")
Obtain the text value of the button and send it to the ProcessData operation in the controller.
Real-time running to see the effect:
One task I want to achieve is to use Jquery UI dialog on page a to pop up a page B, and the page B will display the html obtained from page
. Delegate (". activeTask", "click", function (){
TId = $ (this). parent (). parent (). attr ("TID ");
Lightbox.showUrl('findByidTask.html ', "task details", 330,160, function (){
Ref ();
});
});
This is a click event. Click a hyperlink to bring up a dialog box. The dialog box contains the page in the pop-up box.
When there is a new message, I need to use a layer to pop up the prompt information? How do I use jquery and ajax? Network guidance, learning,
There is a pop-up box
Ability to customize positioning and scroll with screen without Jitter
You can also set the residence and lock screen
The tutorials and source code are provided.
Reference: www.blueidea.com/..20.12497