Results 1 to 4 of 4

Thread: Post command

  1. #1
    Join Date
    Jan 2008
    Posts
    42
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Post command

    I'm looking for a way using ajax or something of the sort to allow me to submit a post command to another php document on another site, but not reload the page, I want to have a popup come up and tell me it succeded. I found one but I have to edit the post php file to add a call back and I can't do that, I need it to all work from my current posting file. thanks in advance for any help.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Normally AJAX does not work across different domains.

  3. #3
    Join Date
    Jan 2008
    Posts
    42
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    Ok thanks I didn't know this. Any other ideas for me that might work?

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can try iframe for doing this. After the successful completion you can hide/remove the iframe element from your main page.

    * Iframes has their own share of problems but for your requirement I think you have to use them. I am not sure about any other thing.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •