By: P’SEC: Connecting Dots, Part IV « David Seah / Code
[...] this. I suppose I should try it first with the “right way” and see how slow it is. This succinct example provides the template to [...]
View ArticleBy: P’SEC: Connecting Dots, Part V « David Seah / Code
[...] The upshot: I should just try the WordPress AJAX thing now to get it working, and then consider optimizations later. So without further ado, let’s follow this tutorial. [...]
View ArticleBy: theBrettman
die is just an alias for exit. you only need to use one or the other...
View ArticleBy: Gab
Hi, I followed instructions and I get the alert box. Great! But I'm trying to load the #content of the target url into the current #content div. How can I do that? Many thanks for your help.
View ArticleBy: web-developer
In php: <code>echo $content;</code> In javascript: <code>$('#content div').html(data);</code>
View ArticleBy: theBrettman
it should be noted that ajaxurl is already defined in the header of admin pages but your localize_script example is needed on the frontend. thanks for the updated article though. It helped me out. some...
View ArticleBy: web-developer
I updated page about ajaxurl in admin pages. You can read more about <a href="http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/" rel="nofollow">nonces in WordPress and...
View ArticleBy: Gab
Thanks for the quick answer. I'm sorry but nothing is returned on click (testing with alert(data);), could you include a quick example. Added the following to functions.php: function...
View ArticleBy: web-developer
Check this link if you want to <a href="http://www.deluxeblogtips.com/2010/05/how-to-ajaxify-wordpress-theme.html" rel="nofollow">ajaxify your theme</a>.
View ArticleBy: Gab
This article doesn't use admin-ajax.php and the method you described above. My theme is pretty much ajaxified. I just need to know how to retreive the information. The handler is ready. ;-) But...
View ArticleBy: lel
Thanks for the info. It was extremely helpful. Do you have any information on nounce. If I'm able, I'd like to make the my code secure.
View ArticleBy: webvitaly
You may check out <a href="http://stackoverflow.com/questions/7718556/using-nonce-with-ajax-in-wordpress-plugin" rel="nofollow">this discussion about ajax and nonce</a>.
View ArticleBy: Tom
Thanks for this post. I used your script and thought everything was fine. It works perfectly in Chrome, FF and Safari. However, I discovered that in all versions of IE, the post meta is not updating...
View ArticleBy: Tom
I posted a comment a few hours ago that is still awaiting moderation. I could have sworn this script was working in Firefox before. But, now I discovered it is not working in Firefox nor IE (all...
View ArticleBy: Tom
Thanks for posting my comments. I was curious though if you have checked your code to see if it actually works on IE and Safari. I saw someone who posted earlier about just getting an alert box. I am...
View ArticleBy: webvitaly
I am using this code in all my projects and it works in all modern browsers (including older IE versions). If you have an error in firefox - try to use firebug addon to find the problems in the code.
View ArticleBy: Tom
Thanks for the response. I have used Firebug. But, there are no errors being generated. There are no breakpoints to deal with. I also checked error logs. Nothing there. Likewise, I tried using the IE...
View Article