Difference between revisions of "Judging/Application Form"
(changed the finished button to a div class button as specified in Code Documentation) |
(put the none-selected options in the HTML already instead of making them with javascript) |
||
Line 83: | Line 83: | ||
<td> | <td> | ||
<select multiple class="teamselector-multiple" size="15" name="2015 iGEM team affiliations" id="team_affiliations" data-form-field="team_affiliations"> | <select multiple class="teamselector-multiple" size="15" name="2015 iGEM team affiliations" id="team_affiliations" data-form-field="team_affiliations"> | ||
+ | <option class='none_selected'>I have no 2015 team affiliations</option> | ||
<optgroup label="Asia"></optgroup> | <optgroup label="Asia"></optgroup> | ||
<optgroup label="Europe"></optgroup> | <optgroup label="Europe"></optgroup> | ||
Line 91: | Line 92: | ||
<td> | <td> | ||
<select multiple class="teamselector-multiple" size="15" name="2015 iGEM team conflicts of interest" id="team_conflicts" data-form-field="team_conflicts"> | <select multiple class="teamselector-multiple" size="15" name="2015 iGEM team conflicts of interest" id="team_conflicts" data-form-field="team_conflicts"> | ||
+ | <option class='none_selected'>I have no 2015 team conflicts of interest</option> | ||
<optgroup label="Asia"></optgroup> | <optgroup label="Asia"></optgroup> | ||
<optgroup label="Europe"></optgroup> | <optgroup label="Europe"></optgroup> | ||
Line 445: | Line 447: | ||
}); | }); | ||
}); | }); | ||
− | + | $(".teamselector-multiple").change(function(event) { | |
− | + | ||
− | + | ||
− | $(".teamselector-multiple" | + | |
//console.log("change"); | //console.log("change"); | ||
if ($(this).children(".none_selected").prop("selected")) { | if ($(this).children(".none_selected").prop("selected")) { |
Revision as of 19:34, 12 March 2015
This form has been submitted.
You can unsubmit the form if you wish to make further edits.
-- Please choose a team
Orange stuff is only visible to wiki superusers (hide orange stuff)
Go to Admin Mode / Go to Team Example / Go to Username: