I'm currently utilizing the jQuerytokenInput plugin and have an input field with a fixed width. The CSS for the input field is as shown below:
li.token-input-input-token-mac input {
width: 100px;
padding: 3px;
margin: 0;
border: none;
}
While this sets the input width to 100px, I am looking to dynamically adjust the width so that it's minimized when no input is present, and expands based on the user's input. How can I implement this functionality?