Marquee onFinish

I've been asked to create a type of ticker tape system and to be nice and easy wanted to use marquee. The issue is that the message needs to change sometimes, so I found that there is a onFinsh event which I can use an AJAX request to get the latest message, however I cannot get it to fire the onFinish event when its finished scrolling in quick proof of concept design

Code I currently have is:-
	#marTest1 {

<script type="text/javascript">
	function WriteInfo (event) {

<marquee id="marTest1" behavior="scroll" direction="left" onfinish="WriteInfo (event)">This is a test</marquee>

Open in new window

Any idea what Im doing wrong?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Prakash SamariyaIT ProfessionalCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Just to add one note to Prakash's comment, the entire Marquee element itself is obsolete and has been for a while.
Though most browsers still support it, they specifically say don't use it, as they could remove the functionality at any point.
And your html will never validate if you're using it.
Ray PaseurCommented:
Going forward, you might want to see if this gives you any inspiration...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.