disable close(x) in a pop up window using java script
-
javascript : document.getElementById('btnid').disabled = true; this will do :) :)
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
It is not possible to disable the close(X) button of the pop up window using script.
-
Hi, Are you talking about the standard javascript alert window or something customized one. If it is JavaScript one then I would say that its not possible but for customized one you can do it using document.getElementById(controlID).style.visible = false.
Either you love IT or leave IT...
-
javascript : document.getElementById('btnid').disabled = true; this will do :) :)
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesAbhishek Sur wrote:
javascript : document.getElementById('btnid').disabled = true;
button. ;P .cheers, Abhijit CodeProject MVP
-
Abhishek Sur wrote:
javascript : document.getElementById('btnid').disabled = true;
button. ;P .cheers, Abhijit CodeProject MVP
Oh .. My bad.. I have overlook on the Window close button. Windows close button cannot be disabled. :rose:
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates