I was wondering. I've got a button from where I call a function when pressed. I use JQuery to do this as such:
this.chose_button.on('click', function() {
tryInputSong(this, this.link_input.val());
});
the problem though is that I need the input parameter for "tryInputSong" to be the same object as the "this" keyword in "this.chose_button" not as the "this.chose_button" object itself. Is there a way I can stop the "this" keyword from changing the value to this.chose_button or must I in some way pass my wanted object through another function?
I am really confused about to solve this and I would appreciate some help, thank you! :)