| Author |
Enable JavaScript
|
Mahi Ranga
Ranch Hand
Joined: Jan 27, 2011
Posts: 33
|
|
Hi All,
How can I enable JavaScript by using JSP Programme.
please tell me.
Regards,
Mahi Rangs.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
If you mean to enable JavaScript in the browser when the user has turned it off, you can't. It would pose a great security risk, if malicious websites could turn on JavaScript, then run their malicious code.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Pene charl
Greenhorn
Joined: Jun 14, 2011
Posts: 20
|
|
If you need to enable particular field through javascript with the help of id property.
Write the following code in javascript:
document.getElementById("ID name").enabled=true;
|
Regards:Prince Charles
http://princecharl.blogspot.com
|
 |
zameel amjed
Greenhorn
Joined: Feb 16, 2011
Posts: 14
|
|
|
JSP is serverside so you cannot deal with user's browser settings...
|
 |
 |
|
|
subject: Enable JavaScript
|
|
|