943,936 Members | Top Members by Rank

Ad:
Jul 3rd, 2009
0

Reload a element with swf

Expand Post »
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. =)

javascript Syntax (Toggle Plain Text)
  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 =)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lettuce.shark is offline Offline
1 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Redirecting user to a login page
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Update div for filelisting after file upload using ajax





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC