title: Passing a variable through the .change() event handler
body: <p>I have some chained select elements for year, make, model, submodel, color. The first one populates through a getJSON call at load time:</p>
  
  <pre><code>$.getJSON("http://mydomain/something.cfm?get=years",
      function(json) {
          var data = "";
          $.each(json, function(i, v) {
              if(v.name != ""){
                  data = data + "&lt;option value='" + v.value + "'&gt;" + v.name + "&lt;/option&gt;";
              }
          });
          $(wheelBuilder.YEARS).html(data).removeAttr("disabled");
          if(getUrlVars()["year"] != undefined){
              $(wheelBuilder.YEARS).val(getUrlVars()["year"]);
              $(wheelBuilder.YEARS).change();
          }
      }
  );
  </code></pre>
  
  <p>The subsequent select elements populate when the user selects an item. An .change() function makes a .getJSON() call to get the data to populate each subsequent select element. The getUrlVars() function gets the variables from the query string by name. If they are available, each select element has to be pre-selected. In order for this pre-selection to occur, the .change() function has to be called so that the next element will become populated. </p>
  
  <p>Thing is, I need the code to run inside of these .change() functions only when they are called from onload, not when the user manually makes the changes. I noticed the jquery documentation has a .change( [eventData ], handler ) option for the .change() function, but I'm not exactly sure if this would do the trick or how to use it (no examples provided)</p>
  
  <p>Thanks. </p>
  
  <p>TLDR: Basically, I'm trying to find a way to distinguish when the select option is being selected by code from when the select option is being selected by a human. </p>