samedi 31 janvier 2015

Warn user that data may be lost for custom pages


When you edit a builtin field in Wordpress like the title and don't save the cahnges, and attempt to go to another link, a warning alert box comes up stating that "changes may be lost if you navigate ...".


How can I make that same box appear for my own pages?


Thanks!





Aucun commentaire:

Enregistrer un commentaire