I have a JSON that contains values of "some thing" and "some/thing/other" as possible values that I want to write to:
$('li#'+fixRegion).append('<ul class="sub"/>');
I tried doing:
var fixRegion = region.replace(/\s/g,'');
fixRegion = fixRegion.replace(/\//g,'');
but it crashes firefox and I won't even bother to tell you want it does with firebug open. What horribly obvious thing am I doing wrong?