$("#otrimovat_text").bind("click", function() { var retezec = $("#text").val(); var otrimovatnyRetezec = jQuery.trim(retezec); alert("Řetězec: \n" + retezec + "\n" + "\nOtrimovaný řetězec: \n" + otrimovatnyRetezec); });
© Michal Oktábec 2009 - 2010