Skip to content

things i did to make it a LITTLE better #1

@bmatusiak

Description

@bmatusiak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions