Wut? The "event" handles delegation, so the "event handler" must have live() or on() depending on the version of jQuery you are using. This means that a substantial part of the equation has been omitted.
The event methods I'm talking about are submit , change or click . You must delegate code to one of these events - using the above live() or on() methods.
Otherwise, if you just want to include them, if the data was fille din.
$('form :input').change(function(){ if ($("id_genre").val() && $("id_privacy").val()) { $("input[name=next]").attr("disabled","") } });
This will check the form to see if the inputs change, if they do, it will check the values ββand you will get the result.
Ohgodwhy
source share