i have an alert(MyCommentsTableField) in my code. Problem is sometimes the comments may have special charaters like maybe ( I'll .... we'll ..."" ..... ) and i think then cause the alert funtion not to work.
how can i test for invalid characters and then strip them off before calling the alert function?
how can i test for invalid characters and then strip them off before calling the alert function?