Home > Javascript > URL escaping in Javascript

URL escaping in Javascript

November 16th, 2009 Leave a comment Go to comments

Though normally you can use the escape function for this, note to full URL encode an actual URL, use encodeURIComponent instead … saves a lot of headaches when deailing with ajax ….

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Javascript Tags:
  1. No comments yet.