squiblo Posted April 28, 2010 Share Posted April 28, 2010 the following does not work because I cant get my slashed correct please help var replace_endli = "</LI>"; // </LI> var innerdiv = innerdiv.replace(/<\/li>/g, replace_endli);// </LI> Link to comment https://forums.phpfreaks.com/topic/200071-replace-function-cant-get-slashes-right/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.