DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
replace all spaces with dash in javascript
title = title.replace(/s/g , "-"); var html = "<div>" + title + "</div>"; // ...
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#replace
#spaces
#dash
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit