javascript-disabled

Javascript disabled best practices?

I would like to know if anyone optimizes their web pages to have some friendly behavior if the user has Javascript disabled. Are there any tricks to provide some pseudo-scripting behavior in such instances? I'm talking basic things like opening links in new windows. I would imagine there is still a lot you can do without Javascript. ...

What strategy should I use for multiple room booking selection without JS?

The user requests 2 rooms on the initial page and is then presented with room types to select from on step 2. The arriving and starting dates will always be the same, but the number of adults and children may differ, causing the price to fluctuate. Now, if JS is enabled I think I'll just program it such that it's tab-powered and when yo...

asp.net mvc: handling no-javascript

Hello, I'm working on a asp.net mvc2 app. I have been using jquery to do various different things in all of my views. They are work from a regular browser quite well. But I'm trying to figure out a good way to get the functionality working with browsers with javascript disabled (like mobile browsers). Is there a way to define a wh...

how could javascript be partially disabled?

I am seeing something weird in some logs and I was wondering if someone could suggest how this could happen. I am looking at error logs sent from the client-side of a web application. The logging has information about the client-side data that would seem to indicate that a certain <script> block within the page has not ran. The client...

ASP.NET Custom Button Control - How to Override OnClientClick But Preserve Existing Behaviour?

Hi Guys, So i have a ASP.NET 4 Custom Control called "SafeClickButton" which is designed to override the default behaviour of the client-side click (OnClientClick). Essentially i'm trying to disable the button on click, then do any existing functionality (validation, postback, etc). It looks to be correctly rendering the HTML (onclick...

HTML5 in IE6 when JavaScript is disabled

My site uses an HTML5shiv for the benefit of Internet Explorer 6 users. What will happen if they have JavaScript disabled? Will the CSS for my fancy new elements (video, article etc) still work? ...

Is a request for the .js files still made if a browser has JavaScript disabled?

When a browser has JavaScript disabled, is the request for the .js files still made to the server (ie the files still end up downloaded on the client, but not parsed) ? The reason I'm asking is to see if it's worth implementing lazy-loading JavaScript files as to prevent the browser from requesting them if JavaScript is disabled; ie onl...

jQuery - Disabling and Enabling Form Elements with Buttons

Hey all, thanks in advance for the help. This is my code: $(document).ready(function () { $("#showexistingcust").button().click(function () { $('#newcust :input').attr('disabled', 'disabled'); $('#newcust :select').attr('disabled', 'disabled'); $('#existingcust :input').removeAttr('disabled'); $('#exi...