Support » Fixing WordPress » Publishing Posts using JQuery

  • Hello this it the first time i post here πŸ™‚

    I developed a WP Plugin to apply some customizations. One of the is to set categories and tags as required when a user is creating a new article.

    To do this i validate the cateogries and tags with jQuery, in AJAX, if the validation fails, i show an alert(), if the validation success, i publish the article, calling the method jQuery(‘#post’).submit();

    It’s actually working but when the validation success and the post is published, something goes wrong, the result page is the update post and the publish button, remain at “publish”.

    Do you know how to fix it? thanks

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Publishing Posts using JQuery’ is closed to new replies.