I have a wordpress page, where there is a div which contains a few dropdown lists and a button. Once button is clicked it retrieves the values from the dropdowns, results from database will display below. (calling another php file to query the results). From the results, each row would have a button to go to another page. (another php)
I want to be able to have these in another webpage where they could use as a 'widget'.
I tried loading the div from another webpage. and it did came out, but nothing happens when i clicked the button. (results from database should be displayed)