I\'m new to jQuery and i\'m trying to write some code to go through the page and rewrite anchor links href attribute so that spaces are removed and replaced with %20.
You can replace "" like so:
""
$(document).ready(function () { $("#content a").each(function (){ $(this).attr('href', $(this).attr("href").replace("%20","")); }); });