There is an input (type=text) in the form. After the input value is saved, when you edit it again, the value is automatically added to the author s name (for example: Basic), and the author s name is automatically added each time you edit it (I can t...
I want to implement that in a rich text editor, when pasting, the html content in the clipboard is automatically converted to markdown content and then pasted into the editor, as if js does not support access to the clipboard. Do you have any solutions? ...
<volist name="list" id="v" key="k"> <div class="shdz_list"> <div class="shdz_top"> {$v.name} <span>{$v....
as shown in the figure, the background is a dates array with n objects, and this is one of them. Now I want to pass a value to the starTime attribute at the front end, and pass multiple values to dates [0] .starTime, dates [1]. StarTime.dates [n] .starT...
https: medium.com s story no... ask him to order this menu on the left he will change the fixed based on the position of "it " on the scroll scroll to the bottom "it " will stop at the specified location what technique is this? How can it be...
there are multiple li var liheight = $( ".djstatr-boxdetail li ") .height (); get li height alert (liheight) the value taken is 0 alert ($( ".djstatr-boxdetail li ") .height ()) in order to get the value . Rookie, may I ask why? ...
jquery function formatDollar(num) { var p = num.toFixed(2).split("."); return "$" + p[0].split("").reverse().reduce(function(acc, num, i, orig) { return num == "-" ? acc : num + (i && !(i % 3) ?...
as shown in the figure there should be only one a, but it is normal to use find, using $( - sharpcrumbs a ). Size () shows 2. What is the reason? ...
<html> <body> <script type="text javascript"> var amt=100; function a(){ var amt =amt; alert(amt) } a() < script> < body> < html>...
description there is a div displaying text information on the page. Clicking div with the mouse will show the hidden textarea. After modification, the text will be synchronized back to div, losing focus and hiding textarea using the click event of di...
Why doesn t scrollTop work <div class="box"> <ul class="ul1" style="position: relative;top: 0;"> <li>1< li> <li>2< li> <li>3< li> <li&...
problem description how to add page switching effect under the premise of using fullpage.js effect such as http: www.luibons.com this site has a lot of switching effect. How do I want to achieve that scale effect: https: tympanus.net Developm....
try{ setTimeout(()=>{ d }) c; c is undefined }catch(e){ console.log(e.message) }...
for example, change a number into an average array , such as the number 8, and divide it into four times. When it cannot be evenly divided, the value of the first item of the array can be larger than that of the second term, and so on, for example, if it...
problem description WebUploader initialization discovers the situation shown in the following figure through the review element after the page opens nesting div blocks with n-layer class as webuploader-pick directly leads to display error the e...
problem description it is known that I have a turntable with four (not fixed) contents. At present, I can successfully get the information of the target item after rotation (subscript). but I can never turn the turntable to the expected position (for...
the code is as follows: < section class= "inner-center clearfix " > <aside class="aside-left"> <ul> <li class="act">< li> <li><a data-class="collect">< a>&l...
if...{ a="left"; }else{ a="right"; } obj.css({ a:"20px" }) as above, the above practice does not work, is there any way to make this an a variable? because of the complexity of the situation, you have to do th...
_this.arrTitle = []; var listTitle = data.data; arrTitle html for (let i in listTitle) { _this.arrTitle.push(listTitle[i]); } 1.vue builds the project, selects permissions and creates roles in the background...
if...{ a="left"; }else{ a="right"; } obj.css({ a:"20px" }) as above, the above practice does not work, is there any way to make this an a variable? because of the complexity of the situation, you have to do th...