title: How to get value from kendo combobox
body: <p>How can I get from  kendo combobox value? I always getting undefined on it.. I've used these variants, but they are not worked for me</p>
  
  <pre><code>var selected = $('#typesCombo').data('kendoComboBox').val();
  var selected = $('#typesCombo').data('kendoComboBox').value();
  var selected = $('#typesCombo').data('kendoComboBox');
  </code></pre>
  
  <p>And getting error like: <code>Cannot read property 'val' of undefined</code></p>
  
  <p>Here's my code: </p>
  
  <p>JS:</p>
  
  <pre><code>$('#loadContainer').load("@Url.Action("Load", "Home")" + id);
  
  var selected = $('#typesCombo').data('kendoComboBox').val();
  
  if (selected == '') {
      ...
      }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>@(Html.Kendo().ComboBoxFor(x =&gt; x.Types.Name).Name("typesCombo")
                                               .DataTextField("Name")
                                               .DataValueField("Id")
                                               .HtmlAttributes(new { style = "width:100%", id = "typesCombo" })
                                               .BindTo(Model.TypesList))
  </code></pre>