facebook

Refresh content of HTML widget

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #347187 Reply

    rick.gommers
    Member

    Hi all,

    I have this function to remove a table row from my HTML widget:

    function removeItem(elem){
        $(elem).closest('tr').remove();
        console.log('remove item');
    }

    This function should work according to this fiddle: http://jsfiddle.net/3vT8F/1/

    However, the HTML widget is not updated. It is not visible that something is removed.

    Why would that be?

    #347206

    Hi marcoevich,

    I just tested the code in the webpage you shared and it worked great. It could be that you have sintax errors or something missing.

    #347208

    rick.gommers
    Member

    Hi Octavio,

    Yeah It works great in that page, but not in my app. That’s why I linked it. I think it’s not the code itself that is not working, but it is something Cordova or MobiOne-widget related..

    Do you have any idea what can cause this?

    I have tried to solve it myself with window.reload but that deletes some information in that screen, so it’s not usable for me. Ideally I need some refresh the HTML widget only.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Refresh content of HTML widget

You must be logged in to post in the forum log in