lettuce.shark 0 Newbie Poster

I got a swf loading in a div.
I need to force his reloading.
So, I'm trying this.
Anyone has any idea?
One that works?

I would apreciate it. =)

myelement = (( document.getElementsById ) ? document.getElementById( mapcontainer ) : (( document.all ) ? document.all[ mapcontainer ] : document.layers[ mapcontainer ] ));
txt = '';
mapcontainer.innerHTML = (( myelement.innerHTML.length >= 1 ) ? "" : txt );

Right now I'm just trying to "clear" the element.
Can't even get that right.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.