Skip to main content

Development - Prevent textboxes from submitting Markus Burgmann


To prevent textboxes from submitting the dependent form just add this script to the code.

  $(document).ready(
    $('input[type=text]').keydown(function(event) {
      if(event.keyCode == 13) {
        event.preventDefault();
        return false;
      }
    })
  );

Newest Blog Entries


Development - Prevent textboxes from submitting Markus Burgmann

To prevent textboxes from submitting the dependent form just add this script to the code. $(document).ready( $('input[type=text]').keydown(function(event) { if(event.keyCode == 13) { Read more

Development - IE buffers JQuery AJAX calls Markus Burgmann

To remove buffering from JQuery AJAX calls when using IE add $.ajaxSetup({ cache: false }); or use $.ajax({ cache: false, ... }); Read more

Development - JQuery JSON parse Markus Burgmann

JQuery JSON parsing cannot handle character \t Replacing it with e.g. a whitespace will make it parsable again. Read more

Development - Redirect with JavaScript Markus Burgmann

You can redirect with JavaScript in two ways: window.location.href (acts as if clicking a link) or window.location.replace (acts as if rewriting the url on the server) window.location.href = 'http://www.softwarewerkstatt.at'; ​window.location.replace = 'http://www.softwarewerkstatt.at'; Read more

SoftwareWerkstatt - Weihnachtskarten Markus Burgmann

Auch dieses Jahr unterstützen wir Unicef, indem wir die Weihnachtskarten dort bestellen. Frohe Weihnachten! Read more