165
rated 0 times
[
167]
[
2]
/ answers: 1 / hits: 29582
/ 14 Years ago, sun, august 15, 2010, 12:00:00
I have an array filled with strings, a value can for example be not updated for > days. I use the values in the array to create some url's and need to remove the /<> and other illegal URL characters. How do I easiest do this?
I started with
var Name0 = title[0].substring(1).replace( , %20).replace(/, ) + '.aspx';
var Name1 = title[1].substring(1).replace( , %20).replace(/, ) + '.aspx';
and so on but can I do this in a better way?
Thanks in advance.
More From » jquery