Activity Forums Salesforce® Discussions How to hide a input box using onfocus functionality.

  • How to hide a input box using onfocus functionality.

    Posted by Yogesh on November 18, 2019 at 8:34 am

    i have  to hide a input box using onfocus functionality.

    Piyush replied 5 years ago 2 Members · 1 Reply
  • 1 Reply
  • Piyush

    Member
    November 18, 2019 at 10:59 am

    Hi Yogesh,

    <input type="text" value="Name:" name="visitors_name" onblur="if(value=='') value = 'Name:'" onfocus="if(value=='Name:') value = ''"/>

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos