I am applying a javascript, but it fires the error:
**missing ; before statement**
String str = document.location.href;
alert(str);
str.replace( "/blogs/-/blogs", "blogs" );
Your any suggestions are appreciated.
I am applying a javascript, but it fires the error:
**missing ; before statement**
String str = document.location.href;
alert(str);
str.replace( "/blogs/-/blogs", "blogs" );
Your any suggestions are appreciated.