title: convert param to upper case before posting to server through jquery ajax
body: <p>Below is the method where i used toUpperCase() to convert params of my ajax function, but there are lots of function in my project and it is difficult for me to convert each param in uppercase.</p>
  
  <p>How can i use $.ajaxSend global function of jquery to convert each param in to uppercase before it get posted to server.</p>
  
  <pre><code>$.ajax({
              url: isProductExistsURL,
              dataType: 'json',
              type: 'GET',
              ContentType: "application/json; charset=utf-8",
  
              data: {
                  locId: locId.toUpperCase(),
                  prodId: prodId.toUpperCase(),
                  suffix: suffix.toUpperCase()
              },
              success: function (exists) {
                  if (exists) {
                      if (showInSummary) {
                          populateValidationSummaryWithCustomError(msg, 'Product');
                      }
                      else {
                          jAlert(msg, 'Alert', function () {
                              $(element).val('');
                              $(element).focus();
                          });
                      }
                  }
              },
              error: function (data, error, status) {
                  debugger;
                  alert("error ");
              },
              beforeSend: function (settings,jqXHR) {
                  debugger;
                  $("input[type=text]").each(function () {
                      this.value = this.value.toUpperCase();
                  });
                  $.blockUI();
              },
              complete: function () {
                  $.unblockUI();
              }
          });
  </code></pre>