public/javascripts/inputex/build/inputex.js
function(index, item) {
      this.items[index] = (typeof item == "object") ? item.value : item;
      this.ul.childNodes[index].childNodes[0].innerHTML = (typeof item == "object") ? item.label : item;
   }
function(index, item) {
      this.items[index] = (typeof item == "object") ? item.value : item;
      this.ul.childNodes[index].childNodes[0].innerHTML = (typeof item == "object") ? item.label : item;
   }
function ( index , item ) { this . items [ index ] = ( typeof item == "object" ) ? item . value : item ; this . ul . childNodes [ index ] . childNodes [ 0 ] . innerHTML = ( typeof item == "object" ) ? item . label : item ; }
Update the value of a given item
@param {Integer} index Item index
@param {Any} value New value
Update the value of a given item