[CLOSED] Disappearing the water mark inside text box

  1. #1

    [CLOSED] Disappearing the water mark inside text box

    Hi all,

    I have text box with water mark inside. Once the text box is selected I want the water mark to be disappeared. It is working fine in IE, but in mozilla the water is mark is getting darkened instead being disappeared.
    How do i disappear it on clicking on text box.
    Attached Thumbnails Click image for larger version. 

Name:	watermark.png 
Views:	24 
Size:	5.4 KB 
ID:	18871  
    Last edited by Daniil; Jan 16, 2015 at 6:21 AM. Reason: [CLOSED]
  2. #2
    Hi!

    Try this css solution for mozilla:

    .x-form-focus::-webkit-input-placeholder { /* WebKit browsers */
    opacity:  0;
    }
    .x-form-focus:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    opacity:  0;
    }
    .x-form-focus::-moz-placeholder { /* Mozilla Firefox 19+ */
    opacity:  0;
    }
    .x-form-focus:-ms-input-placeholder { /* Internet Explorer 10+ */
    opacity:  0;
    }
  3. #3
    Thanks Sergei, Thread can be colsed :)

Similar Threads

  1. [CLOSED] Scroll bar issue inside text area
    By arjunrvasisht in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 17, 2014, 11:44 AM
  2. scrolling text inside a panel
    By deepu s nair in forum 2.x Help
    Replies: 3
    Last Post: Feb 15, 2013, 5:31 AM
  3. [CLOSED] Compobox not holding text typed inside it.
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 06, 2011, 9:49 AM
  4. Replies: 2
    Last Post: Nov 11, 2010, 4:43 PM
  5. TextField text disappearing
    By EzaBlade in forum 1.x Help
    Replies: 8
    Last Post: Apr 24, 2009, 7:46 AM

Tags for this Thread

Posting Permissions