I wrote one after the user uploaded the video and selected it $( input[type=file] ).change(function() { var input = $(this); if(!!this.files && !!this.files[0]) { var reader = new FileReader(); reader.onload = functi...
< span class= "price " data-price= "123.59 " data-starttime= "1509809876 " > 123.59 < span class= "price " data-price= "255.76 " data-starttime= "1509810123 " > 255.76 there are several similar forms in the list page, with a price reduction o...
is dealing with a requirement, which goes something like this: is to determine where the entry of the website comes from . If the website is linked from a certain platform (for example, when a web page is placed on the e-shift platform for light applic...
the target of the substitute <img class="" id="productview_icon" src=""> the object of initiating event <img class="change-display" data-icon_src="xxx" src=""> event e.preventD...
the existing pc-side management system, the framework is that jquery, has three sets of development environment (test dev prod), each time only by commenting the other two url to read the code, how to use parameters to dynamically read files extracted se...
$(function() { $( -sharpremove_favorite_btn ).click(function (e){ e.preventDefault(); $.ajax({ type: "GET", url: , success: function(data){ $( -sharpremove_favorite_btn ).attr( id , add_favorite_b...
the whole process is silent without reminder ...
The parent element binds a click event through the on ( click ) method, and the child element binds a click event through v-on . when the parent element is clicked, the handler of the parent element s click event is triggered. The click event of...
I use js to print a small account to follow. this is the event: I sent with click . $( .cart_subtotal_ +prod_id).html(newVal*price); newVal is quantity price is commodity unit so it will grow like this (this is a follow-up) HTML there is no...
the road is dead! assume that I am now in the store I would like to save my current property information and then press the button to use it. Give it to mysql but I have a problem how can I propose to save it? I now have two must <input type=...
ask the Great God to answer a question: debugger; U.r = function(){debugger; $(window).hashchange(function(){ console.log( in ) }); $(window).hashchange(); } u.r(); is about this method, ...
as shown in the figure, I click on different form components to change the corresponding field properties on the right. Currently, you need to click Save, and then get the modified field attribute push to the data structure. According to the customer...
use js to implement a drop-down menu that requires the drop-down box to be folded automatically when the mouse clicks on an area other than the drop-down menu. Now to give a search function to the drop-down menu, dropList is the drop-down box, the searc...
the problem is that the LVB on the mobile side of the project has a function to enable and disable LVB, but it is found that in QQ Browser, an open video cannot be deleted. The code is as follows $( -sharpwechat-autoplay ).attr( style , display:n...
because the original project is written in JQ+gulp , I want to slowly change the project into a single-page application of vue . If you change it together, the risk is too great and the cycle is too long, so what good ideas do you want to develop with ...
desired effect: for example: click on the man, pop up to expand the men s navigation bar on the right, and how to modify jquery to achieve this function this is the html section <header class="headroom"> <a id="cd-logo...
I want to add the goods to the merchandise I want to go to SESSION to record but I just don t know what the principle is? is there a great god who can interpret it for me? there will be a product name, slice, number of statistics can even remove t...
at present, there is a requirement that we can draw some non-standard tables and let the front end write code directly, but because this requirement is a long-term requirement and needs to be added all the time, we hope to find a plug-in that can be dra...
switch the background image when clicking on an icon, and then click another icon to change the previous image back. The background image currently clicked , , , $(this).addClass( "active ").siblings().removeClass( "active "), before, I clicked on t...
see that the arttemplate template engine is used in a project to package and build the entire project with jquery and webpack, but what do you mean by data-type and data-click in the source code, or all the attributes that begin with data- in the projec...
a page opens page b, The b page is a list. Click on the list item take the content you clicked and go back to page a. How can this be achieved? and how to retain the data filled in by the user on page a? The page is not separated from the front ...
just started the SpringMVC, development tool for IDEA, to write according to the sample code, the code should be no problem run the program: 404: the jre configured by tomcat is consistent with the jre in the system environment I really don t know...
router.js routing section export const normalRouter = { path: , meta: { login: false }, component: () => import( @ views normal home ), redirect: pagelist , children: [ { name: normalPageList ...
problem description I want to pass the download speed of curl test agent IP the environmental background of the problems and what methods you have tried I want to test on the command line, but I have no clue at all. Please provide some code snippe...
what is the reason why my dev is configured as www.cn.66bb.com but when I pack it, the address will also be www.cn.66bb.com. I think the packaged address will be www.66bb.com ...