0

I feel as though the answer is simple, but I can't seem to get it right. My client wants to rename where it says "new document or drag files here" to "New Travel Request".

Does anyone know how to do this?

Any help would be greatly appreciated.

Thank you!

Chris

0

A demo code for your reference:

</script>
<script type="text/javascript">
$(document).ready(function(){
    $(".ms-list-addnew").html($(".ms-list-addnew").html().replace('or drag files here','')); 
    $(".ms-list-addnew>a>span").eq(1).text("New Travel Request");
}
);

Result is:
enter image description here

  • This solved my problem. Thank you so much! – Chris Sep 26 '19 at 3:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.