title: How to add a static link element as a dropdown list item element in Javascript in Knockout
body: <p>I am using Knockout JS. </p>
  
  <p>And , the requirement says "In a dropdown , I need to show some data that are fetched from service dynamically. </p>
  
  <p>But when the dropdown is expanded , a link saying "Create New " should also be appended as the last list item in the drop down. "</p>
  
  <p>To get the list items in drop down , I am using ..</p>
  
  <pre><code>this.intGroups = ko.observableArray([]);
  </code></pre>
  
  <p>And,</p>
  
  <pre><code>    getIntrusionGroupsForSite: function (cb) {
          this.setListValue('/GetGroups', { sId: this.acctId, startIndex: this.pagingInfo.startIndex, maxRecordCount: this.pagingInfo.maxRecordCount }, this.intGroups, cb);
      },
  
      setListValue: function (api, data, observable, cb) {
          this.postDataRequest(api, data, function (err, result) {
              if (!err &amp;&amp; result) {
                  observable(result.data);
                  if (cb) { cb(); }
              }
          });
      },
  </code></pre>
  
  <p>This code fetches and binds all the "<strong>Group Names</strong>" in the drop down.</p>
  
  <p>But the html looks like:</p>
  
  <pre><code>                      &lt;div class="form-group"&gt;
                          &lt;label class="control-label"&gt;Groups&lt;/label&gt;
                          &lt;select size="3" name="intGroup1" id="intGroup1" class="form-control" tabindex="10" data-bind="options: $root.intGroups, optionsText: 'Name', optionsValue: 'Id',optionsCaption: '--Select--',value:$data.IntGroupName"&gt;&lt;/select&gt;
  
                          &lt;a href="#" class="ispicon ispicon_plus" data-toggle="modal" data-target="#addSchedule" data-bind="click:$parent.addGroup" title="Create New"&gt;Create New&lt;/a&gt;
  
                      &lt;/div&gt;
  </code></pre>
  
  <p>This <code>Create New</code> is now needed as part of the drop down list item only.</p>
  
  <p>How to do that ?</p>
  
  <p>Thanks in advance.</p>