Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Ajax to update status Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
raven77
Groupie
Groupie
Avatar

Joined: January 02 2007
Location: United States
Online Status: Offline
Posts: 44
Posted: October 26 2008 at 13:43 | IP Logged Quote raven77

Did any of you try using Ajax to update device status without refreshing the whole page? I just started playing around with it...
Back to Top View raven77's Profile Search for other posts by raven77
 
ibscas
Groupie
Groupie


Joined: October 18 2008
Location: United States
Online Status: Offline
Posts: 46
Posted: October 26 2008 at 17:17 | IP Logged Quote ibscas

raven77 wrote:
Did any of you try using Ajax to update device status without refreshing the whole page? I just started playing around with it...


Does PH support AJAX? I wanted to go that route, but it looked like everything was coming through as HTML results, not XML. I would love to know how that works!
Back to Top View ibscas's Profile Search for other posts by ibscas
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: October 27 2008 at 13:15 | IP Logged Quote onhiatus

I do some roll your own type AJAX - See the following posts:
PSP Pages: No Refreshing!
My wall screen interface

Or, take a look at (my somewhat dated) demo interface:
http://www.onhiatus.com/house/770home2.htm
Note that my demo is optimized for Opera, sort of works for IE (refreshes work, formating sucks), and does not work at all under default FireFox settings.

Note that none of this relies on getting an xml file - the data comes in via psp "html" files that are loaded from a hidden iframe.

Back to Top View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum