1

I have Create a ASP.NET MVC Project.and in this project i have used javascript much more.like JQGRID,FullCalender etc.and everything is working fine. Now a Tester Disabled Javascript from Browser and now nothing is working,no jqGrid ,no full Calender etc(JavaScript Functionalty).Now Please suggest how can i achive my javascript functionality. Any Help will be Appreciated.

2
  • 2
    you can' do anything... except to use noscript to warn the user that the site required javascript.... or create a non javascript version in noscript... Commented Oct 22, 2013 at 9:06
  • Its impossible. refer enable-javascript.com for intimating user. Commented Oct 22, 2013 at 9:07

2 Answers 2

1

You can't. Once javascript is disabled in the browser there is nothing that can be done by the developer of the website to re-enable it.

You need to 'code defensively' (also known in the case of javascript as 'progressive enhancement'), by having a backup system in place which allows the user with javascript disabled to still browse the site. For example, with javascript enabled the user can page between tabular data, with it disabled they see all data in a single page.

Alternatively, you should add an advisory warning to the entry page of your site which detects if javascript is disabled and advises people that for full use of your site it is required.

Sign up to request clarification or add additional context in comments.

Comments

1

You can't use javascript if the browser does not allow you to. But you could try to substitute some things by using CSS3 (For instance, animations, transitions, etc.).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.