Created
September 22, 2015 13:03
-
-
Save JacobLett/2a06a58d98b302472398 to your computer and use it in GitHub Desktop.
find and replace string jquery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#ValidationSummary p').text(function (i, old) { | |
return old | |
.replace('your title', 'a title') | |
.replace('first name', 'christian name') | |
.replace('your surname', 'your last name'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment