onMouseOver / onMouseOut event Javascript
Posted: Sun Jan 01, 2006 9:55 pm
hello guys, happy new year!
i just wanted to know how to include the onMouseOver event (Javascript) in this PHP script I made considering the fact that in the echo statement of PHP you have to enclose the succeeding statement with a double quotation (")
how can I insert
i am confused on how the quotes and double quotes work in this case.
sorry for the stupid question.
thanks!
i just wanted to know how to include the onMouseOver event (Javascript) in this PHP script I made considering the fact that in the echo statement of PHP you have to enclose the succeeding statement with a double quotation (")
Code: Select all
echo "<td>";Code: Select all
td align="center" bgcolor="#0000ff" onMouseOver="this.bgColor='#ff0000'" onMouseOut="this.bgColor='#0000ff'"sorry for the stupid question.
thanks!