The need for speed...or delay

The need for speed...or delay

I have some drag & drop code that I've written and one part of it is that when a draggable is succesfully dropped it's new location get saved with a $.get(). This works fine but my problem is that if the browser gets reloaded before the call recieves a 200 OK naturally it doesn't get saved.

So my thoughts are that maybe it would be faster to write a cookie with the new location and then server side look for that cookie's existance and if it's there pick out the information, save the new location and remove it.

Allthough if there was an easy way to give the $.get() call the 1 second it needs to do it's job that would be easier.

Thoughts?