I need to increase the input field when it is in focus, without increasing td.
Further, in both fields, you should stay in its actual place (look at the violin, it will), and not move up or down (which is caused by the absolute position).
This is my actual condition.
$('.Bemerkung').focus(function() { $(this).attr('size','30'); $(this).parent().css({'position':'absolute'}); $(this).css({'position':'absolute'}); }) $('.Bemerkung').blur(function() { $(this).attr('size','5'); $(this).removeAttr('style'); $(this).parent().removeAttr('style'); })
http://jsfiddle.net/kazuya88/dhy0dxyy/
Hope you can help me!
jquery css table
Felix
source share