3 ms·
I didn't know % gets encoded. So you're right, your code does work : )
by felixge 16y ago
I didn't know % gets encoded. So you're right, your code does work : )
- axod 16y agoFWIW, Checking code or reading API docs is pretty useful :P firebug works pretty well for testing out code snippets. The internet is full of enough incorrect information regarding javascript as it is, and if you think about it, % has to be encoded, otherwise anything containing a % would be decoded wrongly ;)