mardi 24 février 2015

How to check whether item is being added or updated in PreSaveAction



I am using the PreSaveAction JavaScript function to handle list item add and edit operations. But depending upon whether the item is being added ( newform.aspx ) or being updated ( editform.aspx ) I need to implement separate functionality.


How can I check this in PreSaveAction?


or is there any other function to override?








0 commentaires:

Enregistrer un commentaire