Hi, guys. I have a problem.
I'm trying to create an Eddsworld personality quiz but the results don't show up on the following page.
I'm not using a server to do it, which might be part of the problem.
This is the code for the question page:
This is the code for the results page (so far).
Please tell me what I'm doing wrong.

The drop-down doesn't disappear once switched from one selected option to the next option
For instance if click of Radio button main group the drop down display now again clicking of country its also displaying but if i click subgroup ,main group drop down is not clearing and if i click item group ,subgroup and main group is not clear
<script>(function ($) {$.widget("custom.combobox", {_create: function () {this.wrapper = $("<span>").addClass("custom-combobox").insertAfter(this.element);this.element.hide();this._createAutocomplete();this._createShowAllButton();},_createAutocomplete: function () {var selected = this.element.children(":selected"),value = selected.val() ? selected.text() : "";this.input = $("<input>").appendTo(this.wrapper).val(value).attr("title", "").attr("id", "sss").addClass("custom-combobox-input ui-widget ui-widget-content ui-state-default ui-corner-left").autocomplete({delay: 0,minLength: 0,source: $.proxy(this, "_source")}).tooltip({tooltipClass: "ui-state-highlight"});this._on(this.input, {autocompleteselect: function (event, ui) {ui.item.option.selected = true;this._trigger("select", event, {item: ui.item.option});},autocompletechange: "_removeIfInvalid"});},
Reference the link http://jsfiddle.net/dvx53/26/

Hello internet Safari is not allowing my radio buttons to work and it will not let submit my form connected with those... any help is greatly appreciated. Thanks. SUBMITTING THE FORMHTML<form name=poll1 id=poll1 method="post" target="_blank">.....<input type="radio" name="ne" id="ne1" value="1">.....</form> JAVAfunction poll1submit(){poll1.action = "polls_p.php";document.getElementById('poll1').submit()}

I have tried so many different approaches. This is what I currently have. I know it's not pretty but my first goal is to get it to work, then figure out how to make it more elegant. I have a form where the required elements are outlined in red. Then I have a radio button input for contact preference with the choices Email or Phone. I want the input for these respective elements to be outlined in red based on the radio button selection. But if they change their mind, the red box has to go back to not being red anymore... Here is what I have so far...
<script type="text/javascript"> function highlight(a,{ thing1 = document.getElementById("a"); thing2 = document.getElementById("b"); thing1.style.border="solid 1px #EE0000"; thing2.style.border="#7F9DB9";} </script><form name="FelixContact" enctype="multipart/form-data" action="process.php" method="post"><table><tr><td>Prefered contact method</td><td><table> <tr><td> <input type=radio name="ContactBy" value="Email" onclick="highlight(EmailAddress,PhoneNumber)">Email<br> <input type=radio name="ContactBy" value="Phone" onclick="highlight(PhoneNumber,EmailAddress)">Phone<br> </td></tr></table></td></tr><tr><td>Email Address</td><td><table id="EmailAddress" border="0"><tr><td> <input type=text name="EmailAddress"></td></tr></table></td></tr><tr><td>Phone Number</td><td><table id="PhoneNumber"> <input type=text name="PhoneNumber"></td></tr></table></td></tr>
I also tried onchange instead of onclick and it didn't work either