Posts

Showing posts from April 20, 2015

Get list Item Using ECMA Script

var context; var collListItem; var itemColl; var controlPrefix = ""; var context1; var collListItem1; var itemColl11; var controlPrefix = ""; var uservalue = ""; $(document).ready(function () {     //debugger;     //ExecuteOrDelayUntilScriptLoaded(getUserData, "sp.js");     //    getEmplist(); }); function getUserEmpBasicData(user,listname) {     debugger;     //listname = "EmpBasicInfo";     uservalue = user;         context = new SP.ClientContext.get_current();         list = context.get_web().get_lists().getByTitle(listname);         if (listname == "TempEmpBasicInfo") {             controlPrefix = "Old";         }         else {             controlPrefix = "New";         }         var query...

Model Dialog Using Javascript

$( "#divExcelData" ).dialog({                         title: "Preview" ,                         resizable: false ,                         height: dialogHeight,                         width: dialogWidth,                         modal: true ,                         buttons: {   ...