Hi,
I have the following jquery statement. I wish to remove the whitespace as shown below. So if I have a word like:
For example
"#wordOperating System/test" I would like the end result to show me "#wordOperatingSystemtest". (ie without slash and space). The slash works fine but I can't get the space to be removed. Please help!
$("#word" + lbl.eq(i).text().replace("/","\\/").replace(/ /,'')).hide();