No problem, happens with all of us :)
Thanks & Regards,
Dhruva Sagar.
On Tue, Dec 15, 2009 at 9:39 PM, Glen_H wrote:
> yeah, you are right, it appears as though i may have over thought it.
> thanks for the response!
>
> It worked perfectly btw.
>
> thanks again.
>
> Glen
>
> On Dec 15, 11:05
yeah, you are right, it appears as though i may have over thought it.
thanks for the response!
It worked perfectly btw.
thanks again.
Glen
On Dec 15, 11:05 am, Dhruva Sagar wrote:
> There could be many ways to do that. If only you put in a little thought to
> it :).
>
> This is one of the ways
Try something like..
$("#btnTraffic").click(function(){
if ($("#trafficLight").css("background-color") == 'green') {
$("#trafficLight").css("background-color", "yellow");
} else if ($("#trafficLight").css("background-color") ==
'yellow') {
$("#trafficLight").css("back
3 matches
Mail list logo