Hi there ,
I am not able to call a functions on onfocus and onblur events, both perfectly working in html but not in php here is code in php:
echo "<input value='Enter Name' onfocus= 'areaOnFocus(text1, 'Enter Name')' onblur='areaOnBlur(text1, 'Enter Name')' type='text' name='text1' id='text1'>";
both functions are called in script tag. I am sure that call to function is not made in this case as I am alerting in script tag , but nothing happen.
thank you in advance.