Posts tagged with ‘wordpress add javascript event after widget save’

WordPress: add javascript event after widget save

advertisement

wordpressI’m writing a widget that uses color picker, whenever widget save the color picker will went missing. if i can add an event after the widget saved, then this problem can be solved easily. This is mainly because of the ajax call that occurred during the widget save. However, i can’t find any reference from the WordPress documentation. God bless, there jQuery come with some handy function that can be used as a work around to solve this problem 🙂

To add an javascript event after widget save, follow the steps below:-

Continue reading WordPress: add javascript event after widget save »