You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/07 11:29:13 UTC

[GitHub] [cordova-plugin-inappbrowser] M0nter0 opened a new issue #750: Javascript execution backwards

M0nter0 opened a new issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750


   We are using version 3.2.1 to load a webpage built in Asp.Net 4.5.2. We have been experiencing erratic behaviour, so I've made a page to catch the problem and share it here.
   
   This page contains a really simple button executing JS within the [onclick event][1]:
   ```lang-html
   <button onclick="alert('1'); alert('2'); alert('3');"> EXECUTION</button>
   ```
   It works perfectly, but when the website is embed in the app, the execution order runs backwards, displaying:
   
    - Alert 3
    - Alert 2 
    - Alert 1
   
   Using unobstrusive JS with the same results:
   
   ```lang-html
   <button id="testButton">Test</button>
   ```
   ```lang-js
   $(document).ready(function () {
       $("#testButton").click(function () {
          alert('1');
          alert('2');
          alert('3');
       });
   });
   ```
   
   Running the website in ios with Safari works perfectly fine.
   
   Any idea?
   
   [StackOverflow reference](https://stackoverflow.com/questions/62773541/javascript-executing-backwards)
    
   
   
     [1]: https://www.w3schools.com/jsref/event_onclick.asp


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] M0nter0 edited a comment on issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
M0nter0 edited a comment on issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750#issuecomment-654806600


   Sorry about that, @timbru31 
   I will edit following the template


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] timbru31 commented on issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750#issuecomment-654871662


   Thanks Manuel, re-opening.  
   I see that you are using an outdated version of this plugin, can you please try the v4.0.0 version?
   Could you also provide more context on the affected iOS versions and devices?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] M0nter0 commented on issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
M0nter0 commented on issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750#issuecomment-654806600


   Sorry about that, @timbru31 
   I will create a new one following the template


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] timbru31 commented on issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750#issuecomment-654798493


   Thanks a lot for your issue, however the issue template exists for a reason. 😊   
   It helps us to debug the issue further and to provide a solution much faster. With important information missing, we unfortunately can't help you.
   
   Therefore, please edit this issue accordingly or close and create a new one and make sure to provide all the required information.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] M0nter0 edited a comment on issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
M0nter0 edited a comment on issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750#issuecomment-654806600


   Sorry about that, @timbru31 
   I have edit the issue based on the template. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] timbru31 closed issue #750: Javascript execution backwards

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #750:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/750


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org