Dave,
I think you are a bit confused about what
i asked, let me provide an example :
<?php $NAME = "Mickey'" ?>
<a href="#" onClick="DisplayMyName('<? echo $Name ?>')">
<Script language=javascript>
function DisplayMyName(myName)
alert(myName);
}
</script>
When i click the link , it product me an
error, why ? bcos the parameter contains
three single quotes. The problem happen
again if we put back slash.
I would like to know is there any javascript
to addslash to these special character.
thanks for your answer