Thanks for ur reply.
WE are doing webbased application.It is not accepting window.location etc.
Where i have to givethis code??on the pageload????
My problem is i have to initilize the project,if any one directly go to the further forms,i have to display the message,And on that msgbox,by clicking on OK he ss redirecting to the first form.
How to do???Please give me correct solution???
Thanks once again.
Hai Guffa and Sandeep,Thanks for your answer.It is working perfectly,\Thanks once again.
And can you give me an idea for ,If i click on OK it has to perform some action and if we click on Cancel,it has to perform other action.
How to check which one(OK or Cancel)was selected????
Give me some idea.
This is code for my confirm message box.
but as per your code ,how to give the if condition,
It is not accepting confirm("some text")???
how to give and where,on the button click event or somewhere???
eventhough it is small i am confusing.
Once again thanks for ur reply
Correct my code please
Your code is sufficeient to display and confirm something,but how to check if it si ok or cancel.
i want to again display some msg on OK click,and same for cancel,or sometimes i want to redirect some other page( when it is confirm msgbox only),Please dont get irritate and tell me .i have tried.but it is not giving anything.
thanks once again
No, it doesn't work. The message box is shown on the server, not on the client computer. While you are testing the application using your own computer as server, you will see the message box. When you deploy the application to a web server, there is no user interface for the process running the application, so the message box have nowhere to go.