Animate textbox using jQuery

Akiii
Posted by Akiii under jQuery category on | Points: 40 | Views : 4499
<input id="txtProduct" type="text" size="150" />


$(document).ready(function() {    
$('#txtProduct').focus(function() {
$(this).animate({
width: 250
})
});
$('#txtProduct').blur(function() {
$(this).animate({
width: 150
})
});
});?



Thanks and Regards
Akiii

Comments or Responses

Login to post response