currently i had this weird user requirement and i was wondering if you guys got some ideas how to handle.
i need to popup a new popup everytime this particular button clicks
the maximum number of the popup is for example : 5
when the number reached 5, no more pop up is allowed.
if the current no.popup is 3, then u can only allow u click 2 more times and so on...kind of allowing only 5 instances of a popup
i was thinking of making a queue/counter which whenever there is a click on that button, they should be checked whether the queue/counter isit fulled or not, else allow it to popup using javascript. however, whenever i close the popup, is there anyway to make server knows the queue/counter to remove one slot from the queue?
i was just wondering is it possible to be done via javascript and asp.net2.0.
i know this is a stupid user requirement, but i was cracking my brains to find a logic to get this work and hope some one can give me some guidance, or am i thinking the wrong logic which makes thing complicated. thanks
regards,
martin