Results 1 to 2 of 2

Thread: [RESOLVED] Loosing data with ajax post

  1. #1
    Join Date
    May 2010

    resolved [RESOLVED] Loosing data with ajax post

    I am having a bit of an issue here. For some reason my ajax POST does not send all the information.

    The first parameters work fine, the others seem to be lost or something.

    HTML Code:
    replytext = encodeURIComponent(document.reply.replytext.value);
    kunde = encodeURIComponent(document.reply.kunde.value);
    overskrift = encodeURIComponent(document.reply.overskrift.value);
    varsle = 1;
    send= "update=uchat&message="+replytext+"&kunde="+kunde+"&overskrift="+overskrift+"&varsle="+varsle;
    I have checked all the variables with alerts, and they are correct. I have tried to echo out the POST on the PHP side and there is nothing.

    the first 3 parameters are working fine. The others are not working.
    Any suggestions to why its like that?

  2. #2
    Join Date
    May 2010
    This is solved. It seems like it was an error in my PHP script. This can happen when the project get quite big :P

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles