Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Appriciate if u can solve my below problem.


JavaScript is not working my ASP.Net project.

previously it was working.

I enabled the script in IE.

But, is there is any setting in .Net for enabling Javascript.




Thanx
Shahnawaz
Posted

To allow scripting on a Web site only, and to leave scripting disabled in the Internet zone, add the Web site to the Trusted sites zone.
1. On the Tools menu, click Internet Options, and then click the Security tab.
2. Click the Internet zone.
3. If you do not have to customize your Internet security settings, click Default Level. Then do step 4
4. If you have to customize your Internet security settings, follow these steps:
a. Click Custom Level.
b. In the Security Settings – Internet Zone dialog box, click Enable for Active Scripting in the Scripting section.
Click the Back button to return to the previous page, and then click the Refresh button to run scripts.

Refer:
How to enable scripting in your browser[^]

Apply the setting as mentioned in it.
 
Share this answer
 
v3
What do you mean by javascript not working in your project? Is it possible that the script is not getting loaded/that it's erroring? The easy way to test this is to have a noscript section to your web page and see if that gets rendered out at runtime. If it does not get rendered out then the scripting is enabled and the problem is something else.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900