0
votes
1answer
64 views

hooking with javascript in the edit post sending process [closed]

I'm developing a plugin for a complex custom field that need some js checks and validation before sending. Is there a way to hook into the sending process with js/jquery?
2
votes
3answers
435 views

Add javascript when post is published

I am trying to add javascript when a post has been published so that it's more noticable for my user but I can't figure out what to use. I tryed with publish_post and save_post, but it doesn't work ...
1
vote
2answers
591 views

How to trap “Publish” button to check for meta box validation?

I'm trying to do some form validation on my custom meta box, and I remember somewhere reading about some javascript function to disable/enable the Publish button - except I can't find it. How do I ...