Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Experts,

I have DDL1,DDL2, DDL3 cascading drop downs
I already have Please wait dialog Jquery working for other things.
I want to write a Jquery when DDL1 is selected and DDL2 is loading, I will call the Jquery ShowpleaseWait() function. But I don't know how to write when my ASP.Dropdownlist DDL1 is selected in JQuery

Can anyone help me in telling me how to write DDL1.selected change then call the method ShowPleasewait() in Jquery?
Posted
Updated 12-Mar-15 5:45am
v2

Just use "blockUI" jquery pluggin. Simply use $.blockUI(); to block and $.unblockUI(); for unblock the screen. For more settings like showing a spinning image under text "Please wait" or any custom CSS, goto below link. Its very easy.

http://malsup.com/jquery/block/#demos[^]

Very simple and widely using technique in industry.

Below link for fidler explain how to use it
http://jsfiddle.net/8Mcr6/2/[^]
 
Share this answer
 
v2
Comments
sudevsu 12-Mar-15 10:22am    
Well, Actually, I tried it but what happended is
DDL1 is selected and JQuery starts...and stops then
DDL2 is loaded based on DDL1 Selected value...
But I want to Stop the Jquery only when DDL2 is bound.
I hope that makes sense
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900