You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2013/06/25 17:50:21 UTC

[jira] [Commented] (TOBAGO-1283) New attribute "placeholder" for input fields

    [ https://issues.apache.org/jira/browse/TOBAGO-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693135#comment-13693135 ] 

Udo Schnurpfeil commented on TOBAGO-1283:
-----------------------------------------

To check, if the browser supports the placeholder:
jQuery.support.placeholder = (function(){
    return "placeholder" in document.createElement('input');
})();
                
> New attribute "placeholder" for input fields
> --------------------------------------------
>
>                 Key: TOBAGO-1283
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1283
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core, Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>
> The new attribute placeholder should display a short text in the input field, that describes the meaing of this field.
> This attribute is new in HTML 5, but should also work in the other supported browsers in Tobago.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira