Reputation: 17697
Just want to ask around before implementing own's solution using javascript and css. I wonder if in core jsf tags / primefaces / jquery have the following features :
Thank you !
Regards, Albert Kam
Upvotes: 0
Views: 2614
Reputation: 11028
for your first point this might works for you...
$("input[type=text]").focus(function(){
// Select field contents
this.select();
});
For second point this discussion might help you....
Auto Tab
For third point...
$("input[type=text]").focus(function(){
$(this).css("color","red");});
Upvotes: 1