How to replace


<script>
var url = document.getElementById("url_key");
function replacespace(){
url.value = url.value.replace(/['\" ]/g,'-');
url.value = url.value = url.value.toLowerCase();
}
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *