Not able to call a function onfocus event in php

J@N

New Member
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:\[code\]echo "<input value='http://stackoverflow.com/questions/3845039/Enter Name' onfocus= 'areaOnFocus(text1, 'Enter Name')' onblur='areaOnBlur(text1, 'Enter Name')' type='text' name='text1' id='text1'>";\[/code\]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.
 
Back
Top