Skip to content
Snippets Groups Projects
Commit 1fccc37e authored by Yulong Wang's avatar Yulong Wang
Browse files

Merge branch 'wyl' into 'main'

fix bug

See merge request !29
parents 4b308dd5 67a57a85
Branches
No related tags found
1 merge request!29fix bug
...@@ -144,6 +144,11 @@ ...@@ -144,6 +144,11 @@
}) })
//reflash page
$(document).on("dblclick","#searchButton",function (){
location.reload()
})
//use jQuery's load() to load content dynamically,Events cannot be bound in dom mode //use jQuery's load() to load content dynamically,Events cannot be bound in dom mode
$(document).on("click", "#searchButton", function () { $(document).on("click", "#searchButton", function () {
......
...@@ -122,9 +122,15 @@ ...@@ -122,9 +122,15 @@
}) })
//reflash page
$(document).on("dblclick","#searchButton",function (){
location.reload()
})
//use jQuery's load() to load content dynamically,Events cannot be bound in dom mode //use jQuery's load() to load content dynamically,Events cannot be bound in dom mode
$(document).on("click", "#searchButton", function () { $(document).on("click", "#searchButton", function () {
let status=document.getElementById("searchStatus").value; let status=document.getElementById("searchStatus").value;
if(status==="active"){ if(status==="active"){
status=1; status=1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment