JQuery tips
április 4th, 2007 by Tana
// Change textarea color, when focused :
$(function(){
$("TEXTAREA").focus(function(){
$(this).css({color: "black", background: "#F0F8FF"});
})
})
$(function(){
$("TEXTAREA").blur(function(){
$(this).css({color: "black", background: "white"});
})
})
// hide all element in frame : "contframe", which element class begin with "opciotetel" :
contframe.$("[@class^=opciotetel]").hide();
Posted in php |