Skip to main content

Timeline for wp_ajax action is not running

Current License: CC BY-SA 3.0

16 events
when toggle format what by license comment
Apr 23, 2014 at 7:40 vote accept JennisDev
Apr 22, 2014 at 16:30 answer added Frederik Spang timeline score: 2
Apr 22, 2014 at 15:50 history edited kaiser CC BY-SA 3.0
deleted 10 characters in body
Apr 22, 2014 at 14:07 answer added Dave Ross timeline score: 7
Apr 22, 2014 at 12:37 history edited JennisDev CC BY-SA 3.0
added the html trigger and php tags
Apr 22, 2014 at 12:29 comment added JennisDev It's inside a html input tag where I'm using an onclick event. Gonna try to put it in the question (is now written below the last codesnippet).
Apr 22, 2014 at 12:20 history reopened kaiser
Apr 22, 2014 at 12:20 comment added kaiser "The added synchandler.js file:" is the part I'm referring to. If this is the contents of the JavaScript file, then please show us where you call that function. I can't see it triggered anywhere.
Apr 22, 2014 at 12:05 comment added JennisDev All javascript is in a separate file and added with wp_enqueue_script() so don't think that's a problem.
Apr 22, 2014 at 12:00 review Reopen votes
Apr 22, 2014 at 12:20
Apr 22, 2014 at 11:43 history edited JennisDev CC BY-SA 3.0
deleted 4 characters in body; edited title
Apr 22, 2014 at 10:52 history closed kaiser Not suitable for this site
Apr 22, 2014 at 10:51 comment added kaiser Ehm... you need to close PHP with ?> before adding JavaScript code and opening it again afterwards: <?php.
Apr 22, 2014 at 10:50 review First posts
Apr 22, 2014 at 10:55
Apr 22, 2014 at 10:40 history edited JennisDev CC BY-SA 3.0
added 110 characters in body
Apr 22, 2014 at 10:31 history asked JennisDev CC BY-SA 3.0