JSFiddle - React, Tailwind, and code Playground

by Roko

JavaScript

(function(){
    
  $(document).on("click", ".MyButton", function() { // You don't use any event
    if ( this.id == "ButtonAuftrag"){ // Use the force Luke
        $.mobile.changePage("#pagetwo");
    }
  }); // Close properly
    
}()); // Close properly