Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window {
- constuctor(id, layout) {
- this.id = id;
- this.layout = layout;
- }
- getLayout() {
- $.ajax({url: window.php, type: "POST", data: {id: this.id}, success: function(response) {
- this.layout.innerHTML = response;
- }});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement