Re: Refreshing ajax content

2013-11-21 Thread Remi Grumeau
As told in another thread, there is nothing built-in in iUI to fill this kind of app-specific use-case. It has a _replace mechanism to extend a list view, but nothing to replace an element. function refreshCurrentPage() { iui.ajax(MyAjaxFile.php,null, 'get', function(response) { if

Refreshing ajax content

2013-11-20 Thread Wayne Bennett
Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups iPhoneWebDev group. To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Refreshing ajax content

2013-11-20 Thread Sean Gilligan
What version of iUI are you using? Do you have a simplified demonstration (or the full app) available somewhere I can look at it? -- Sean On 11/18/13 12:17 PM, Wayne Bennett wrote: I have built a simple iui webapp which gets data from a mysql db via ajax which all works the way it should.

Refreshing ajax content

2013-11-18 Thread Wayne Bennett
I have built a simple iui webapp which gets data from a mysql db via ajax which all works the way it should. I want to refresh the data via a script and so need to reload the new ajax data and replace the current page fragment with the new data. I have tried this: function