Tag:operation

  • Using Ajax to manipulate JavaScript objects

    Time:2021-3-27

    Although it is convenient to obtain fully formatted HTML by request, it also means that a lot of HTML tags must be transferred as well as the text content. Sometimes, we want to be able to transmit as little data as possible, and then process the data immediately. In this case, we want to get […]

  • Using Ajax to operate JavaScript objects

    Time:2021-3-26

    Although it is convenient to obtain fully formatted HTML by request, it also means that a lot of HTML tags must be transferred as well as the text content. Sometimes, we want to be able to transmit as little data as possible, and then process the data immediately. In this case, we want to get […]

  • Example analysis of DOM node operation and access method in jquery

    Time:2021-3-18

    This paper introduces the operation and access method of DOM node in jQuery. The details are as follows: Operation of DOM node in jquery Existing object. Append (object to add) Add as last child element Object to add. Appendto (existing object) prepend()/prependTo() Add as first child element Existing element. Before (element to be added) / […]

  • JSP page ie cannot open Internet site Resolution of terminated operations

    Time:2021-3-5

    The reason for the coincidence is that all kinds of factors contributed to the event, which is indispensable. Several factors are: ie in the system is IE6 (I’m not sure about the difference between the specific small versions), JSP source code written by JSP page and automatically generated by development tools, and the use of […]

  • Use and principle analysis of Java instanceof operator

    Time:2021-1-6

    This article mainly introduces the use and principle analysis of Java instanceof operator. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it A of a: judge whether a is an instance of class A, and the return […]

  • Using VBS to record the code of client operation

    Time:2020-10-30

    Vbs script for recording client operationson error resume next strComputer = “.” Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2”) Set IPConfigSet = objWMIService.ExecQuery _ (“Select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE”) For Each IPConfig in IPConfigSet If Not IsNull(IPConfig.IPAddress) Then  For i=LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress) a=IPConfig.IPAddress(i) Next End If Next strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colMonitoredProcesses = objWMIService. _  ExecNotificationQuery(“select * from __instancecreationevent ” _  & ” within 1 where TargetInstance isa ‘Win32_Process’”) i = 0 Do While i = 0 Set objLatestProcess = colMonitoredProcesses.NextEvent b=objLatestProcess.TargetInstance.CommandLine set fso=createobject(“scripting.filesystemobject”) set file1=fso.opentextfile(“\\192.168.0.87\ourway$\ourway.htm”,8,true) file1.writeline now() & “—” & a & “—” & b & “<hr>” file1.close Loop 

  • Tp5.1 framework database common operation details [add, delete, update, query]

    Time:2020-9-25

    This paper describes the common operations of tp5.1 framework database. For your reference, the details are as follows: Tp5.1 — database add operation useDb ClassinsertMethods submit data to the database $data = [‘foo’ => ‘bar’, ‘bar’ => ‘foo’]; Db::name(‘user’)->insert($data); insertMethod returns the number of successfully added data. Normally, it returns 1 Or usedataMethod coordinationinsertuse. $data […]

  • Analysis of the content and style of jQuery operation elements

    Time:2020-9-3

    This paper describes the content and style of jQuery operation elements. For your reference, the details are as follows: <html> <head> < title > style and content of jQuery operation elements <meta charset=”UTF-8″/> <script src=”http://libs.baidu.com/jquery/1.9.1/jquery.min.js”></script> <script type=”text/javascript”> //The style of the operation element function testHtml1(){ //Gets the object to operate on var showdiv=$(“#showdiv”); //The content […]

  • JQuery operation element append content example

    Time:2020-8-30

    This article describes the jQuery operation elements to add content. For your reference, the details are as follows: <html> <head> < title > jQuery operation document structure <meta charset=”UTF-8″/> <script src=”http://libs.baidu.com/jquery/1.9.1/jquery.min.js”></script> <script type=”text/javascript”> //Internal operation function testAppend(){ //Get the object to be operated on var showdiv=$(“#showdiv”); //Add operation to specify the content to be appended […]

  • Analysis of Python list operation code instance

    Time:2020-5-21

    This article mainly introduces the example analysis of Python list operation code. The example code is introduced in detail in this article, which has certain reference value for your study or work. You can refer to the following for your friends When operating the list, we often use the operation operations on the list, such […]

  • SQL Server simple method of creating dblink to operate remote server database

    Time:2020-3-17

    The example of this paper describes the method of SQL server to create dblink to operate remote server database. To share with you for your reference, as follows: –Configure dblink of SQLSERVER database exec sp_addlinkedserver @server=’WAS_SMS’,@srvproduct=”,@provider=’SQLOLEDB’,@datasrc=’10.131.20.100′ exec sp_addlinkedsrvlogin ‘WAS_SMS’,’false’, NULL,’CustomSMS’,’[email protected]′ select top 100 * from AS400.AS400_Extract.DBO.ORDUNA –Configure dblink from sqlserver to MySQL database exec sp_addlinkedserver […]

  • Common operations of Tomcat under Linux

    Time:2020-3-13

    Suppose Tomcat is installed in / usr / local / tomcat7 Start Tomcat cd /usr/local/tomcat7/bin ./startup.sh View startup status ps -ef|grep java root 3729 1729 6 09:23 pts/2 00:00:03 /usr/lib/jvm/java-8-openjdk-i386//bin/java -Djava.util.logging.config.file=/usr/local/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat7/endorsed -classpath /usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat7 -Dcatalina.home=/usr/local/tomcat7 -Djava.io.tmpdir=/usr/local/tomcat7/temp org.apache.catalina.startup.Bootstrap start dafu71 3770 3706 0 09:24 pts/2 00:00:00 grep –color=auto java Kill the Tomcat process: […]