User:Utar/vector.js

$(document).ready(function { $('#wpSave').click(function { var summary = $('#wpSummary'); if (!summary.val) summary.val($('#wpTextbox1').val.substr(0, 250)); }); });