I have a jQuery function that is used by two different buttons.
Is there a way to pass a parameter to the function so I can tell it what needs to be written to?
My function starts like this:
$("#tblOwnerSearchResults, #tblDirectorSearchResults").on("click", "input.select", function () {
And I need to pass a variable to this part:
$(html).appendTo('**#A_Table**');
Thanks!
this.idis the id of the clicked element.#A_Tablerelated to the button clicked? Can you navigate fromthisto the target element?