Send JS variable to PHP script via ajax on click of button where the href attribute is set dynamically
Advertisements This is the current situation: I have one checkbox on each row of a table representing some infos A button that is initially disabled and if any checkbox is checked it gets enabled This button is wrapped/enclosed by an <a></a> tag like this <a><button type="button" id="myId" classes="classes…"></button></a> An array which is initally empty Suppose… Read More Send JS variable to PHP script via ajax on click of button where the href attribute is set dynamically