Are you using window.onLoad or DOMContentLoaded. If you are worried about
them pressing the back button then use window.onLoad because it waits till
everything is done loading, not till the DOM content is ready to be
manipulated. It shouldn't hurt anything if they press the back button,
unless
I'm using the JQuery document ready function. I have something like
the following on the top of my page.
script type=text/javascript
$(function() {
$('#type').attr('disabled', true);
});
/script
I only want the function to get executed when the page is loaded from
the web server (but
2 matches
Mail list logo