title: Initiate Button click action using Watir Ruby library
body: <pre><code>Watir::Browser.default = "firefox"
    ie = Watir::Browser.start("http://cars.com")
  
    ie.select_list(:id, 'make_1').set('Chevrolet')
    ie.select_list(:id, 'model_1').set('Cobalt')
    ie.select_list(:id, 'pricehighnew').set('No Max')
    ie.select_list(:id, 'rdnew').set('30 miles')
    ie.text_field(:name, "zc").set "44109"
  
    ie.form(:method, "GET").submit   #Here is the problem...
  </code></pre>
  
  <p>URL: <a href="http://www.cars.com/" rel="nofollow noreferrer">http://www.cars.com/</a></p>
  
  <p>Can anyone help me initiate <strong><em>button click</em></strong> action searching for "New Cars" form on the top left. Seems like they are using JavaScript as well. I appreciate any help. </p>