Will that work on all browsers?
Why not use jquery.ajax?