javascript Programming Glossary: avidno
Javascript replace undefined error shows! http://stackoverflow.com/questions/6410862/javascript-replace-undefined-error-shows replace through an undefined error here is my new code var avidno ' 800 123 1234' var bodytext document.body.innerHTML function.. var regex ^ 0 9 3 . 0 9 3 . 0 9 4 gi if regex.test avidno alert 'bingo' var altrstr ' span ' avidno ' span ' var newaltr.. gi if regex.test avidno alert 'bingo' var altrstr ' span ' avidno ' span ' var newaltr bodytext.replace avidno altrstr var str_count..
|