javascript and php
- From: "Irlan agous" <irlan345@xxxxxxx>
- Date: Sun, 15 May 2005 17:57:50 +0200
function switchColors(element, color)
{
links=document.getElementsByTagName("a") ;
for (var i = 0 ; i < links.length ; i ++)
links.item(i).style.color = 'blue' ;
element.style.color=color ;
}
I have an echo php link with a javascript mouseout, why doesnt this work?
<a href=\"$PHP_SELF?action=list_records&cur_page=$varray&id=$id\"
onmouseout=javascript:switchColors(this, 'yellow')> $array </a></td>";
Irlan
.
- Follow-Ups:
- Re: javascript and php
- From: BKDotCom
- Re: javascript and php
- Prev by Date: Re: PHP Session
- Next by Date: Re: javascript and php
- Previous by thread: Error Message
- Next by thread: Re: javascript and php
- Index(es):
Relevant Pages
|