Problem get data from select, input-hidden value in Firefox

Problem get data from select, input-hidden value in Firefox

My code is:
  1. <div class="blockTxt">
  2. <input type="hidden"  name="item_type" value="<?php echo $r->cat;?>">
  3. <div class="foodName">
  4.   <h4 class="item_name"><?php echo $r->name;?></h4>
  5. </div>
  6. <div class="btnFood">
  7.    <select class="quantity-select">
  8.                <option selected="selected" value="8">8 </option>
  9.                <option value="16">16 </option>
  10.        <option value="24">24 </option>
  11.        </select>
  12. </div>
  13. <?php echo $r->cont; ?>
  14. </div>

  15. <button class="btn" data-id="<?php echo $r->id;?>">
  16.       Мake order
  17.      </button>

and JS-code:
  1. function addToCart(e){ 
  2.   ...........
  3.   var cartData = getCartData() || {}, 
  4.       parentBox = this.parentNode, 
  5.       itemId = this.getAttribute('data-id'), 
  6.       itemTitle = parentBox.querySelector('.blockTxt > .foodName > .item_name').innerHTML, 
  7.       itemPrice = parentBox.querySelector('.item-price').innerHTML,
  8.       itemQuant = parentBox.querySelector('.blockTxt > .btnFood > .quantity-select option:checked').value,
  9.       itemType  = parentBox.querySelector('.blockTxt input[name="item_type"]').value;
  10. ................................
  11. }
In Chrome browser it works, but in Firefox two last strings are not.
  1. itemQuant = parentBox.querySelector('.blockTxt > .btnFood > .quantity-select option:checked').value,
  2. itemType  = parentBox.querySelector('.blockTxt input[name="item_type"]').value;