do you design websites so that they work without JavaScript?
zepolen: Yes, and it's actually easier.The trick is not to think in terms of 'supporting graceful degradation', but in terms of 'javascript enhancements'.Which means, do your entire app to work in html. Then add javascript wherever you can to enhance the app.Force all your javascript to run /after/ the page loads, it's a constraint that will stop you from cheating.An example is a delete button. Do it in html as so:    <form class="delete" action="/delete/something" method="post"><input type="submit" value="delete"></form>

Then, with your framework of choice (jquery here):    <script>
    runOnLoad(function(){
       $(".delete").submit(function(){
           var form = $(this);
           if (confirm("Are you sure you want to delete this?")) {
               $.post(form.attr("action"), function() {
                   form.replaceWith("Deleted!");
               });
           }
           return false;
       });
    });
    </script>

(Code untested)So instead of the delete button causing you to go to a new page, it will just popup a confirmation, and when you click 'ok' will do the ajax call, and change the button into a 'Deleted!' message.With a decent framework, the code to 'enhance' will maybe add a tiny bit of overhead in terms of loc and time, (this example for instance, 3 lines more than if it was javascript only).But you get a much easier to debug app and it works everywhere to boot.