if you notice i changed the .width() to .css()
did this is because .width() gives the measurement in px not a % and .css() does
here is a gist of what i curently use https://gist.github.com/bmatusiak/5648051/revisions
i also added
var self = this;
this.$formInput.change(function(){
self.parseFormInput();
});
and i also added to parseFormInput()
var item;
while((item = this.list.getPreceding(this.input))){
this.list.remove(item);
}
this give me the option to call $("input").change(); after i do $("input").attr('value','some,data');
also thankyou for this.
if you notice i changed the .width() to .css()
did this is because
.width()gives the measurement in px not a % and.css()doeshere is a gist of what i curently use https://gist.github.com/bmatusiak/5648051/revisions
i also added
and i also added to
parseFormInput()this give me the option to call
$("input").change();after i do$("input").attr('value','some,data');also thankyou for this.