Hi there,

I am trying to use an apotrophe in an input fields with this code, but it isn't working. Is there a way I can use apostrophes in the below. I am referring to the values of "your friend's name".

PHP Code:
onblur="if (this.value == '') {this.value = 'your friend's name';}"
onfocus="if(this.value == 'your friend's name') {this.value = '';}" value="your friend's name"