[wp-hackers] Using ajax in admin plugin for wp 2.6

Jennifer Hodgdon yahgrp at poplarware.com
Fri Jul 25 14:48:23 GMT 2008


Check out:
     http://codex.wordpress.org/AJAX_in_Plugins

    --Jennifer

Aaron Axelsen wrote:
> I am working on an expiration date plugin that will add a meta box to 
> the post page, and use ajax to submit the data.  However, i'm having 
> trouble getting the ajax portion to work.
> 
> My understand is that I have to print out some javascript using the 
> "admin_print_scripts" action.  However, i'm not sure what exactly I 
> should put there.
> 
> After that, I know it needs to hook into ajax-admin with the custom action.
> 
> Can anyone offer some thoughts or ideas?  Thanks!

-- 
Jennifer Hodgdon * Poplar ProductivityWare
www.poplarware.com

Drupal/WordPress Sites, Themes, Modules/Plugins
Custom Web Programming, Web Databases
PHP, Perl, MySQL, JavaScript, XML, AJAX



More information about the wp-hackers mailing list