>One of the problems is that the wp_postmeta table can't store negative ids. I also ran into this and would be interested to know what you end up doing. For now I hide my ajax buttons on new posts, and just process posted data on the save_post action instead, when the real ID is available. -dylan-