function validform() { return $("-sharpreset_passwd").validate({ rules: { password: { required: true, minlength: 6 }, confirm_password: { required: true, minlength: 6, ...
< el-form class= "from-1 " ref= "form ": model= "form ": rules= "rules " label-width= "80px " style= "width:100%; height: 380px; " > <el-form class="from_n1" style="width:940px; margin:auto;"> <div id=&q...
my first is bar style google.charts.load( current , { packages :[ bar ]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { $.getJSON( data.json?type=view&m= + m, function(json) { var data = new google.visualization.Dat...
subscription what if you need foreach in [] ? $data[] = [ name => $key[ add_hour ]. :00 , data => [[ x => (int) $key[ add_date ], y => (int) $key[ times ] ] ...
usually work according to the data or configuration to splice a piece of html code, when the need to stitching code is very long, write and view is very difficult, ask you work or study can not only take into account the performance but also easy to writ...
I encountered a thorny problem when working on a project. I used vue s v-bind to bind the data- attribute of the DOM element, as follows <a v-else class="js-fancybox" href="javascript:" @click="updateGallery(idx)" ...
<table class="g-tableList com_pro_list"> <thead> <tr> <th v-for="(item,index) in retRockeval" :key="index"> <span>...
var arr = [1, 2, 3, 1, 5, 8, 2, 9, 9, 2, 2, 2, 3]; : :1, 2, 3, 5, 8, 9 122532518192 ~~~...
requirement: click anywhere outside the pop-up box, and the pop-up box disappears my code: $(document).click(function (e) { var _con = $( -sharpregister ); var _login=$( -sharplogin ); if (!_con.is(e.target) && _con.has(e.targ...
< H2 > title text-sharp-sharp < H2 >...
now a page has two parts with invalid icons up and down, which means to encapsulate it. all define class as item-up,item-down. however, it is found that only the first top icon is invalid, and the second bottom icon is invalid. cannot invalidate each...
layer.js error layer.js:353 Uncaught TypeError: Cannot read property style of undefined at Object.r.setTop (layer.js:353) at Object.success (addsim.vue?d932:297) at s.pt.callback (layer.js:318) at s.pt.creat (layer.js:198) at new s (layer.js:119)...
references third-party plug-ins encapsulated by jquery in vue. plug-ins are functions encapsulated by jauery extensions $.fn.xs999 = function(u, g) { y = { color: false, } $.extend(y, g); $(this).each(functi...
in ie and edge, after displaying fixed columns, when there is too much data (only a few hundred rows), scrolling table is very stuck, and sometimes there are wrong rows, and sometimes you reply after scrolling again, and sometimes no matter how you rol...
in jQuery ajax, why does the this under the data attribute point to my vue instance? As follows: vue data(){ return{ name: test , age:18, } } ajax methods:{ getData(){ $.ajax({ url: test.php , type: post , ...
$( .case-icon li ).hover(function(){ $(this).children(".xianshi").eq(0).removeClass( yincang ); $(this).children(".aa").eq(0).addClass( yincang ); $(this).children(".yincang").removeCla...
Page run error report: : question: because the xs plug-in relies on jquery, an error has been reported due to the loading order, is there any way to ensure that jquery loads first and completes the attempt: import xsimport xs 1import xs1 jqueryxs ...
tuodong(e) { e.preventDefault(); $(".draggable-element").arrangeable(); }, using jq s drag plug-in, local drag and drop changes the location of div, but the url address of the image is still in the same location. Drag and drop is n...
how does the vue browser refresh jump to the specified page ...
want to implement a topology diagram where children can be dynamically added or deleted at the topmost parent, and children can be dynamically switched. found some plug-ins that can be generated quickly, but failed to add and remove such features dyna...
A second-level menu. You want to use the a tag to call iframe to achieve the effect that the second-level menu will not be closed after clicking. The code is as follows: <li> <a href="index.php?...
use echats force-oriented diagram to report to TypeError Cannot read property off of undefined change the configuration (vue environment) in series related codes { name: Les Miserables , type: graph ...
problem description vscodenode http https connect ECONNREFUSED 127.0.0.1 3300 the environmental background of the problems and what methods you have tried optionshostname encrypted.google.com const options = { hostname: encrypted.google.co...
the Graph component of echarts is used in the vue project, and then the error "Uncaught TypeError: Cannot read property parse of undefined " is reported. at first thought it was the version, and then reinstalled the echarts, version with the numb...
converting canvas to base64 pictures cannot be saved by long press in Android, but you can press long button to view the big picture first, and then long press Save to ask for help ...