Hi I have a page like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>


.add-another-cat {
	/*float:right;	*/


<!-- for list -->

  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css" />
  #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
  #sortable li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; height: 1.5em; }
  html>body #sortable li { height: 1.5em; line-height: 1.2em; }
  .ui-state-highlight { height: 1.5em; line-height: 1.2em; }
  $(function() {
    $( "#sortable" ).sortable({
      placeholder: "ui-state-highlight"
    $( "#sortable" ).disableSelection();



<script language="javascript">
             var $orDiv = $('.new-category:last').after($('#clone').clone().removeAttr('id').show());



<div id="clone" class="new-category" style="display:none;">
    <select class="category-select" name="localprojects">
    <option value="1">mca 1</option>
	<option value="2">mca 2</option>
    <select class="category-select" name="remoteprojects">
    <option value="z1">zoho 1</option>
	<option value="z2">zoho 2</option>
    <select class='category-select-sub' style="display:none">
        <!-- loaded from ajax -->

<div class="new-categories"  style="display: inline-block;">
    <a href="#" class="add-another-cat smallest" style="display: inline-block;"></a>

<ul id="sortable">
  <li class="ui-state-default">Item 1</li>
  <li class="ui-state-default">Item 2</li>
  <li class="ui-state-default">Item 3</li>
  <li class="ui-state-default">Item 4</li>
  <li class="ui-state-default">Item 5</li>
  <li class="ui-state-default">Item 6</li>
  <li class="ui-state-default">Item 7</li>

I like to get the selected values from the 2 comboboxes, combine them together as a string and add to the list below.

For example: if user selects "mca 1" (value "1") and "zoho 2" (value "z2") then the following html code should be auto generated.

<li class="ui-state-default" value="1-z2">mca 1 - zoho 2</li>
Would you please tell me how to do this? Thanks.