About plusReady and puls of mui

        beforeback: function() {
            //webview
            alert(1)
            mui.plusReady(function(){
                var i = plus.webview.getWebviewById("txffc");
                console.log(i);
                
            });
            return false;
//            if(i) {
//                //refresh,
//                mui.fire(i, "refresh");
//            }
            
        }

the requirement is that you open a page, and then the data will go wrong after the open page is returned, and the refresh of the page data will be successful. So I want to call a function to refresh the parent page when I return. I checked the writing method on the Internet, but I had a problem with it and asked the god for help to solve the problem.

if you don"t use plusReady, it will prompt you that plus is not defined, and the program in it seems to be stuck after using it, so I"m confused. The methods in
plusReady are never executed.
my side is the browser side.


plus initialization principle

there is no plus environment in the browser
The

HTML5Plus specification is an extension of mobile applications, not ordinary browsers. The extension API is all in the window.plus object, which is guaranteed to load successfully after the plusready event of the extension engine. mui.plusReady encapsulates listening to plusready events, ensuring that the window.plus extension object is called.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb780-46ac1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb780-46ac1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?