2, the key is, I want to do a task: there are two input conditions, according to the conditions of the query results, using the results to make table
So how do I define the event of a button, make it once every click will access the background using AJAX, then return the data, the update chart?
Looking insight glad
CodePudding user response:
Is very simple, you put echarts chart generated js code button click event that executes,For example:
$(" # "button). Click (function () {
.
//echarts chart method
})
CodePudding user response:
I am also query based on conditions in the drop-down box to refresh the form, if according to what is said above, you must point button to the chart, this is not so goodCodePudding user response:
Click change option which is then set to go