Hey all, I'm trying to bind a load method to a form element, so that it will assess the value of the element on page load (document ready), and do something accordingly. What I have is below, but it's not working...in fact I can't seem to get the load method to work in any context. Can someone on this list straighten me out please. I must be misinterpreting how the load method works.
$(document).ready(function() { $("input:[EMAIL PROTECTED]@checked]").load(function() { if ($(this).val() == "private") { $("#pubbox").hide(); } else { $("#pubbox").show(); } }); }); TIA, Josh _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/