SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [jQuery] textarea serialization problem

    Hello...

    I have a form in which there is a text area. I serialized this form, but the only issue I have is that, the content of the text area are not being sent in a clean format to the php file. For instance, double quotations will be sent as %22, spaces as + ...

    I need a way other than filtering these symbols one by one inside the php file, simply how to serialize them without converting the symbols into codes as it is happening now...

    Thank you

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using urldecode (unescape in javascript) should do the trick..


  3. #3
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, that works great!


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
  •