How to get form value of <ul> in golang?
<p>In my use case I am using tag <a href="https://github.com/aehlke/tag-it" rel="nofollow">tag-it</a> to get tags from user. I am getting the tags input in html <code>&lt;ul&gt;</code> form. I am using golang in server side. </p>

<p>html:</p>

<pre><code>   &lt;form class="comment-form" action="/add/" method="POST" enctype="multipart/form-data"&gt;
    &lt;div class="form-input"&gt;
      &lt;label for="tags_label"&gt;Tags&lt;/label&gt;
      &lt;ul id="tags"&gt;
        &lt;script type="text/javascript"&gt;
          $("#myTags").tagit();
          var tagsArray = ["C", "C++", "Go", "Ruby"];
          $("#tags").tagit({
              itemName: "teamId",
              fieldName: "teamName",
              availableTags: tagsArray,
              allowSpaces:true,
              caseSensitive:false,
              removeConfirmation:true,
              placeholderText:"Tags",
              tagLimit: 5,
              allowDuplicates: false,
              singleFieldDelimiter: ',',
              onlyAvailableTags: false
          });
        &lt;/script&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
   &lt;/form&gt;
</code></pre>

<p>and in server end I am trying to get the value like below similar to other fields in the form,</p>

<pre><code>tags            := r.FormValue("tags")
log.Printf("Tags : ", tags)
</code></pre>

<p>But it is not working.  Could someone help me with this?</p>

<p><strong>EDIT:</strong>
When I inspect the element this is what I see,</p>

<pre><code>&lt;div class="form-input"&gt;
    &lt;label for="tags_label"&gt;Tags&lt;/label&gt;
    &lt;ul id="tags" class="tagit ui-widget ui-widget-content ui-corner-all"&gt;
        &lt;script type="text/javascript"&gt;
            $("#myTags").tagit();
            var tagsArray = ["C", "C++", "Go", "Ruby"];
            $("#tags").tagit({
                    itemName: "teamId",
                    fieldName: "teamName",
                    availableTags: tagsArray,
                    allowSpaces:true,
                    caseSensitive:false,
                    removeConfirmation:true,
                    placeholderText:"Tags",
                    tagLimit: 5,
                    allowDuplicates: false,
                    singleFieldDelimiter: ',',
                    onlyAvailableTags: false
            });
        &lt;/script&gt;&lt;li class="tagit-new"&gt;&lt;input type="text" class="ui-widget-content ui-autocomplete-input" placeholder="Tags" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"&gt;&lt;/li&gt;
    &lt;/ul&gt;                                            
&lt;/div&gt;
</code></pre>