I've been handed a role administering a SharePoint site, and the following custom code is on one of the pages:
<script type="text/javascript">
$(document).ready(function() {
$("#pgtitle").html("Customer Service Feedback");
});
</script
I'm not a javascript guy, so I'm having trouble interpreting this. The code was written by someone who is no longer with my firm, and left well before I arrived.
$(document).ready(function()
means that the code that follows, will start as soon as the page has loaded.
$("#pgtitle").html("Customer Service Feedback");
simply passes the value Customer Service Feedback
to the HTML element pgtitle
.
if you look on the page for the pgtitle
element, I'm sure you will see it contains the text Customer Service Feedback
! :)