emmm this is still part of the todolist code. There is no response when I click to delete the task after the web page is opened. I wrote console.log () in the on click event and did not respond if you first define $delete_task and then write $delete_t...
function batchdel() { var chk_value =[]; $( input[name="ids"]:checked ).each(function(){ chk_value.push($(this).val()); }); if (chk_value.length==0) { alert("...
this is a todolist js code. Want to know why the append here is not available here is all the current code link description ;(function () { use strict ; var $submit_task = $( .submit-task ) , task_list ={} ; init(...
for example, we have the map () method in Javascript to apply a set of functions to each member of an array in jQuery to convert several DOM nodes into other objects how can conflicts be avoided? ...
success : function(data) { * alert(data); alert(typeof data); * if(!data){ alert(""); return false; } else { ...
problem description report an error according to my method as follows related codes Please paste the code text below (do not replace the code with pictures) var wenzi = + messionnew_date.item + function showItemData(){ con...
function check() { js var text = document.getElementById("xh").value; id if (text == "") { alert(""); return false; false } if (!( (^[1-9] d*$) .test(text))) { ...
function check() { js var text = document.getElementById("xh").value; id if (text == "") { alert(""); return false; false } if (!( (^[1-9] d*$) .test(text))) { ...
two select, is a city drop-down choice, the first is a province choice, and the other is a city choice. the city selection plug-in automatically hides the second one, which is displayed only when the selected province has a city. the code is as fol...
<div class="imgpd"> 123 456 789 ... <div> check whether there is a tag in imgpd. If not, add a * > . ...
https: www.google.com.tw sea. I searched on Google, and I found that ajax search are all single-conditional search , and the backend receivers are% {XXX}% a little fuzzy search but not like Google search. the more conditions I enter, the more accu...
using data-role= "none " can not solve the dynamically created class, such as the blue background of the button when the navigation bar is clicked, how to change it if you think it s too ugly? ...
Active resource loading counts reached to a per-frame limit while the tab is in background. Network requests will be delayed until a previous loading finishes, or the tab is foregrounded. See https: www.chromestatus.com feature 5527160148197376 for more...
var arr = [{id:1,pic:1},{id:2,pic:2},{id:3,pic:3}] how to delete the second item of arr and insert a new object {id:4,pic:4} results such as arr = [{id:1,pic:1},{id:4,pic:4},{id:3,pic:3}] ...
ajax error: function(jqXHR, textStatus, errorThrown) { errorGo(textStatus, errorThrown); }, errorGO () function errorGO(status, error){ console.log( textStatus: %s, errorThrown: %s , status, error, location, type); alert( Something ...
use js to achieve the function of dragging and inserting values in the tree structure directly into the cell on the right. drag and drop is easier to implement, but I don t know how to get the value to which cell it is dragged to in real time, and how...
...
has been using superslide plug-in version v2.1.1. Recently, after upgrading the jquery version to 3.3.1, the error report is as follows: where the index-data.js:21 code is as follows: $(".slideBox").slide({ mainCell: ".b...
HTML structure <div class="box"> <div class="list"> <p class="active">1 2 < div> <div class="item"> <div class="item-list cur"> ...
suppose I added the lazyload function and first showed five figures . blog 1 blog 2 blog 3 blog 4 blog 5 when you slide down, there are another five pieces of data, which is no problem. blog 1 blog 2 blog 3 blog 4 blog 5 lazyload blog 6 lazyload blo...
problem description: in the input box using element, the input box can not enter the value, does any boss know why? The code is as follows: http: jsrun.net kXXKp edit ...
this is what I changed on the element component. Add the parent of the position: fixed; location to the navigation, and then click the take menu to jump, the submenu will flash. step: click on my workbench--> option 4--> and then click any of it to see ...
when the local hexo s runs without a problem, hexo d automatically push the entire hexo project to the warehouse instead of the contents of the public folder, resulting in github page 404. why does this happen? (ps: was good before. After changing the t...
problem description after I take a picture with my mobile phone (the byte length is about 50000 if I transfer to base64 directly), mark it with canvas, save it as a picture, then find that the picture has become so big, and use the Wechat interface to...
problem description use the ant-design-pro template. https: github.com ant-design. if you want to request menu data from the background, the data can be obtained correctly, and the state changes are also correct, but when the page is rendered, the ...