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

  • 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