method "replace" is a javascript method to change a part of a string with another.
Example
alert (field. replace ('I', 'you'));... will change in the "field" the word "I" with the word "you".
Here is the syntax to replace the js
document.frm.campo.value document.frm.campo.value.replace = ('old', 'new')
0 comments:
Post a Comment