Where element object is the object onto which we have to perform hide() method. Let's understand the use of hide() with an example :
Here in the above code we have created two buttons. When user clicks on the first button it calls the function ShowPopup(). In this function we have first created a popup window by calling method window.createPopup(). After that we have added some inner text into it and then we have shown it by the method popup.show(). At last when user clicks on another button "Hide popup" it calls the method hide() on the popup element's object.
Click on the button "Show popup" to show popup element.
Click on another button "Hide popup" to hide popup window.
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: February 7, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles