I have a button, when I click it, it should go to DB and fetch some data and display data in a small window below the button with a close sign. What should be my option for window and how do it show it on button click.
Regarding the proper window position calculated instead of those 99, I will not tell you. ( Anyway, my browser does not listen to such settings. ) Try to Google for finding out position with JavaScript.
For a somehow faster and better controllable solution I would suggest to take a look at DHTML window.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.