Reload a element with swf

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jul 2009
Posts: 1
Reputation: lettuce.shark is an unknown quantity at this point 
Solved Threads: 0
lettuce.shark lettuce.shark is offline Offline
Newbie Poster

Reload a element with swf

 
0
  #1
Jul 3rd, 2009
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. =)

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

Right now I'm just trying to "clear" the element.
Can't even get that right.
Last edited by lettuce.shark; Jul 3rd, 2009 at 12:12 pm. Reason: bb code =)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC