In this below script,get firstname and lastname and Current Date in Jquery
var fuser= $().SPServices.SPGetCurrentUser({fieldName: "FirstName",
debug: false}); var luser= $().SPServices.SPGetCurrentUser({fieldName: "LastName",
debug: false});
$("#loginuser").html(fuser +luser);
$("#currentDate").html(new Date());
debug: false}); var luser= $().SPServices.SPGetCurrentUser({fieldName: "LastName",
debug: false});
$("#loginuser").html(fuser +luser);
$("#currentDate").html(new Date());
No comments:
Post a Comment