I know its a basic question but I have tried to out put the username from this jquery code in a html div tag, but no success so far, I wonder how to call it and display it in a div tag?
Source:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script>
<script type="text/javascript">
var thisUserAccount = $().SPServices.SPGetCurrentUser({
fieldName: "Title",
debug: false
});
</script>
Html Body:
<div id="1" style="font-weight: bold;">thisUserAccount</div>