Tag Info

New answers tagged


I think fallout's answer partially answers the question. His 'if statement' checks if items exist, then updates items if they exist, otherwise it creates new items if they do not exist. Depending on your columns, the trick is to update only those items that have changed in the CSV file (required for efficient version control in the sharepoint list).


Your code is not working because the event is attached only to elements that are loaded into DOM. Dialog is generated dynamically. Hence we need jQuery to attach click event to element having style ms-dlgCloseBtn whenever it gets loaded to DOM jQuery('.ms-dlgCloseBtn').live('click',function() { alert('test'); });

Top 50 recent answers are included