jQuery How do set text in a input field then press enter? I have input field if I manually enter text then submit button will get enabled but if I use jQuery to enter text, then the button won't enabled. How can I make the button enabled? I am using jQuery with Selenium

Here is what I am looking for verizonwireless.com/support/contact-us on this page, if you enter something in search field, "X" will show up but if you enter using JQuery it won't. So how will I make the "X" show up when I use jquery to enter the text? $('#vgn\_q').val('iphone').change(); I tried this but no luck