Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Refresh page?
Thu, Jun 27 2013 5:55 AMPermanent Link

Matthew Jones

Is it possible for an EWB app to force a reload of its host page, thus updating
itself? If so, how?

/Matthew Jones/
Thu, Jun 27 2013 7:23 AMPermanent Link

Mark Brooks

Slikware

Avatar

>>Is it possible for an EWB app to force a reload of its host page, thus updating
>>itself? If so, how?

Do a reload on the document location:

http://www.w3schools.com/jsref/met_loc_reload.asp

Cheers
Thu, Jun 27 2013 7:55 AMPermanent Link

Matthew Jones

Thanks - which translates to EWB line:
   window.location.reload;

Now I just have to work out how to make that easy for me...    
   
/Matthew Jones/
Thu, Jun 27 2013 8:12 AMPermanent Link

Mark Brooks

Slikware

Avatar

>>Now I just have to work out how to make that easy for me...    
   
Not sure I understand? Should just be a straight call? Window is globally available to you.
Thu, Jun 27 2013 9:51 AMPermanent Link

Matthew Jones

Sorry, I mean how to make it fit into my application and web service so that when I
push a new javascript, the server spots it and tells the EWB app to refresh
automatically. That line works fine, but I don't want to be calling it all the time.
8-)

/Matthew Jones/
Image