I have the following html:
<p>Genre: {{ create_production_form.genre }}</p>
<p>Privacy: {{ create_production_form.privacy }}</p>
<p><input type="submit" name="next" value="Next" disabled="disabled"></p>
How would I make the next
button clickable only after Genre and Privacy are filled in? For example, something like:
if ($("id_genre").val() && $("id_privacy").val()) {
$("input[name=next]").attr("disabled","")
}
The only thing is, it'd need to be 'live', so it can detect when all these fields are filled in.