Well, it seems that the problem is with JS Code for Opera browsers, since only deleting the last parameter tag that is selected in the multiple-choice tag can someone help me.
Here is the HTML for this:
<select id="actions_list" name="layouts" multiple style="height: 128px; width: 300px;">
<option value="forum">forum</option>
<option value="collapse">collapse</option>
<option value="[topic]">[topic]</option>
<option value="[board]">[board]</option>
</select>
Of course, this is in the form tag, but there is more code associated with this form, but here is the relevant information for this.
Here is a JS that should handle this, but it only removes the last selected option in Opera, not sure about other browsers, but it really needs to delete all the selected options, not just the last selected option ... argg
var action_list = document.getElementById("actions_list");
var i = action_list.options.length;
while(i--)
{
if (action_list.options[i].selected)
{
action_list.remove(i);
}
}
What is wrong with that? I can't figure it out one bit :(
Thank:)