DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   Reload a element with swf (http://www.daniweb.com/forums/thread201495.html)

lettuce.shark Jul 3rd, 2009 12:09 pm
Reload a element with swf
 
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.


All times are GMT -4. The time now is 2:06 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC