title: selectmenu ('refresh', true)
body: <p>I get form from zend framework site and put it in response in new file in function written by jquery mobile, but I get this error:</p>
  
  <blockquote>
    <p>uncaught exception: cannot call methods on selectmenu prior to
    initialization; attempted to call method 'refresh' .</p>
  </blockquote>
  
  <p>Code of function this file:</p>
  
  <pre><code>     function addItem(id) {
          $.ajax({
              url:'http://zf.darina.php.nixsolutions.com/order/index/create-order-mobile',
              dataType:"jsonp",
              data:{id_good:id},
              success:function (resp) {
  
                  console.log(resp);
                  $('.product-table').empty();
  
                  $('.product-table').append(resp.prod);
                  $('.product-table').append(resp.form);
                  $('.add-order-btn').button();
  
                  $('.mob-size').selectmenu('refresh', true);
  
                  $('#block').page();
              }
          })
      }
  </code></pre>