Thursday, May 19, 2016

How to add or Change the Placeholder Text for the Find a file search box for document libraries

You can add a Script Editor Web part on the page (and you can hide it from Script editor properties) and add a script tag to jQuery



<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>

<script> $( "#inplaceSearchDiv_WPQ1_lsparent :input").attr('placeholder','Ahmed'); </script>

No comments:

Post a Comment