Skip to content

Instantly share code, notes, and snippets.

View michaeljbailey's full-sized avatar

Mike Bailey michaeljbailey

  • Converged Technology Group
  • Long Island, New York
View GitHub Profile
$('table tr').on('focus', 'textarea[rows][cols]', function(event) {
var $blurFrom = $(event.delegateTarget);
$blurFrom.css("background-color","yellow");
$blurFrom.find("textarea[rows][cols]").each(function(i, element) {
expandHeight($(element));
});
});
$('table tr').on('focusout', 'textarea[rows][cols]', function(event) {
var $blurFrom = $(event.delegateTarget);