function updateWidth(){
                        rsList.css({
                            width: input.outerWidth()
                        });
                    }
// update rs list width when window resize
update rs list width when window resize
update rs list width when window resize
function updateWidth(){
                        rsList.css({
                            width: input.outerWidth()
                        });
                    }
function updateWidth ( ) { rsList . css ( { width : input . outerWidth ( ) } ) ; }
update rs list width when window resize
update rs list width when window resize