I want to close the child window, from parent window using java script. I want to close the child window, from parent window using java script. How to do that? Can any one help me on this? Thank...more
Open new window every time Hi, I am trying this example below : On click of the link it creates one window, if i click it again, i do not get a new window( another window) but rather the same wind...more
Read a file in script!! HOw can we Read a file using Java Script.. My requirement is i have to read a file in java script.. Can anyone tell me how to do that..
ActiveX can be used. However, be aware that an increasing number of people are not using internet explorer on windows (either due to alternate browser or due to alternate operating system) so Acti...more
You should use the navigator object to get info about the OS below in red are the properties of navigator object and the near cells are the values on my machine. use the properties as object.pr...more
You should think of an applet is a self containing page in a page. Because of this, the applets behave like they are different objects in html pages. This is the same for flash movies as well. Try...more
37(left arrow) 38(up arrow) 39(right arrow) 40(down arrow)
How can we hide the html source code when the user tries to view the source code from the browser's "view source" file menu option?
[Short answer: no, it's not possible, since the source code *is* the response. If the user wants to see your source, he can. However, here's a clever hack... -A] Yes it's possible, I've done it...more
Just use eval("your string here");
You can't. About the best you can do is hide the buttons and disable caching of the pages. Unfortunately, their keyboard equivalents (ALT+Right/Left Arrow) will still work. At least with caching d...more
There are a few ways that you could try, although it all depends on any restrictions you have on deployment. First off, you could use Swing's JTree in a small applet. This would require the use o...more
Short answer: you can't. Fortunately, sessions expire automatically after a period of time; check your servlet engine documentation to see how to set this timeout period. I felt that there should...more
No, there isn't. Remember, JSP is strictly a server-side technology, which is responsible for generating dynamic content in HTML, DHTML or XML format. Setting focus on specific input elements wi...more