• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

AJAX and asp error post with no space

I´m using AJAX with asp. When doing a POST the spaces between words disappear.
0
Jose Bredariol
Asked:
Jose Bredariol
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
var words = "this is a word with spaces";
words = encodeURIComponent(words);
// words ready to be  sent now!
0
 
Jose BredariolPMPAuthor Commented:
Thanks
0
 
leakim971PluritechnicianCommented:
why a << B >> grade?
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now