Javascript Function to Replace All Occurances of String

6

Javascript has a “replace” method which can be used to replace all occurances of a string. Consider for example that you want to replace all the occurances of the word “Miscellaneous” to “Amazing”.

Read this post on prowebguru.com


ProWebGuru

blogs from Bangalore