the "server" sent over the public key, after some kind of check, if you can find that the public key is not "server" is good (this is the key)Solution:Introduction of digital certificates:A digital certificate contains the following:1. Issuing authority for certificates2. Validity of the certificate3. Public key4. Certificate owner (Subject)5. Algorithms used for signing6. Fingerprint and fingerprint algorithmA digital certificate ensures that the public key in the digital certificate is indeed
Sometimes, we want the text box in the form to be read-only, so that the user cannot modify the information in it, such as making Method 1:onfocus=this.blur ()Method 2:readonlyMethod 3:disabledHTML: Make form text box read-only, non-editable method
Sometimes, we want the text boxes in the form to be read-only, so that users cannot modify the information in them.If you make "China" Two words can not be modified. Implementation of the way to summarize,There are several.Method 1:onfocus=this.blur () Method 2:readonly Method 3:disabled HTML: Make form text box read-only, non-editable method
var_window=newExt.Window({title:‘窗口‘,width:‘800‘,height:500,modal:true,//模态的后面的页面就不能点了frame:true,layout:‘fit‘,items:[...]});Plus modal:true, this configuration item can beExtJS pops a new window, how to make the old page non-editable
The results we will eventually achieve are as follows:
When you click on the Learning Number column, you can edit it:
When you click ESC, the action is canceled, and when you click Enter, the modification takes effect (no interaction with the background)The page code is as follows (asp.net):
CSS (EIDTTABLE.CSS)
Table
{
border:1px solid black;
Border-collapse:collapse;
width:500px;
}
Table th
{
border:1px solid black;
width:50%;
}
Table TD
{
border:1px
Many scenes will be encountered on the Web page, users like to use Excel, directly to the HTML table content to operate, so write a convenient use of plug-ins
CSDN Download Address: http://download.csdn.net/detail/w172087242/9589681
Upgrade Download Address
Here is the JavaScript code:
/*** * Function: Make the read-only form editable table * Support custom event for Edit * table style can be set by itself * Only responsible for TBODY section * Dat
Android:editable is deprecated:use a Android:editable is Deprecated:use InputType instead
Analysis: About the read-only problem with the EditText control, that is, you cannot change the contents of it through the UI, but you can select part of the content to replicate. In the early SDK, the EditText has editable attributes, and now this property has been deprecated.Workaround:In fact, only one line of code can handle et.setkeylistener (NULL);Note tha
Function: To achieve the content of the Web page real-time editing, increase the usability of the page, interactive.
Method 1: Directly through the TEXTAREA tag implementation, run the following code:
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
Idea: Will textarea through the CSS style design to let the user feel not like is the textarea appearance, through onblur, oumouseout and so on the attribute carries on Ajax to save the user d
This article describes the JS implementation of the editable div in the location of the insertion of the content of the method, as we use the editor, shared for everyone to reference. The implementation methods are as follows:
Let div enable edit mode first
Copy Code code as follows:
Open the div edit mode by setting the contenteditable=true so that the div can enter the same as the text box.
Don't talk about it. Let's say how to get
1, can be edited:
Setting the Contenteditable property allows Div programming to edit the state
2, can drag:
$ (' #move '). draggable ();
Draggable with the jquery UI can make div a drag state, but if two properties are applied at the same time, the editable function will fail.
3, can be edited, can be dragged:
Copy Code code as follows:
var divtitle=$ (' #move ');
[Code]
{
$ (this). Draggable ({disabled:false});
$ (this).
The examples in this article describe the editable tables for jquery implementations. Share to everyone for your reference, specific as follows:
More interested readers of jquery-related content can view the site: "jquery table (table) Operation Tips Summary", "jquery common Plug-ins and Usage summary", "jquery Ajax Usage Summary", "jquery drag and drop effects and techniques summary", " jquery Extended Skills Summary, jquery Common Classic
method One (JS control): First Find out what we do with this work: 1, click on the text to create a text box (input), 2, the contents of the original text in the text box; 3, When we click on another area, the text box becomes non-editable text, 4, the text should be modified after (if any); figuring out the principle so it's easy to implement, with source code:
In this code, you start assigning this to the variable TD because you need to tu
treeview|xml| Create | control | execute
Execute the TreeView control in order to be more perfect, listing 4 contains the final Treevie controls for vb.net version, or C # versions two editions. To make it easier to use, I redefined the structure and code. It also adds KeyDown control to support some of the default shortcuts, such as: Control-n (New), F2 (edit), and Del (delete). There seems to be no need to attach any events, so the final API contains a method and eight attributes, which they l
A table that can be edited.
1. First write a page containing the table jqueryedit.html:
"Http://www.w3.org/TR/html4/loose.dtd" >
2. Write a JavaScript script file to complete the editable effect of the table, Jqueryedit.js:
in this file, when the input box after the change is submitted by the ENTER key, the following file is the mouse relative to the text box loses focus to achieve the submission, I think the following second method is more realistic
In this section, we'll see ExtJS's powerful editable grid controls, almost as much as the vs.net GridView feature, but the ExtJS is a pure JS UI
A. Static example (from the official example of ExtJS)
A. Because we're using XML as a data source, we post XML content here
Code
computer cannot log on LOL prompts expired or invalid certificates to resolve
1, open the Start menu-control Panel;
2, click on "Time, language and region";
3, click on "Time and date";
4, or directly click on the lower right corner of the time, and then click "Change the date and time settings" into;
5, open and click on "Change date and Time";
6, manually change the time i
/conf.d/ Enter this directory and modify the ssl.conf650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/25/wKioL1RMlG3icxp7AAPVukfU7qg133.jpg "title=" 13.png "alt=" Wkiol1rmlg3icxp7aapvukfu7qg133.jpg "/>Restart , turn off the firewall650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/25/wKioL1RMlHzgGUZxAAIhptTcuYo013.jpg "title=" 14.png "alt=" Wkiol1rmlhzgguzxaaihpttcuyo013.jpg "/>input https://192.168.88.100, accessed via 443 port, appears,Review the certificate, select th
private key, this data only the CA's public key can be decrypted, and the CA's public key, the fame is very large, is installed in the operating system in advance! CA public key security and correctness, by the operating system maintenance, so if the system can be decrypted correctly, then the certificate must be issued by the CA, it will ensure that the server's unique identity!In iOS and Android, if the address of the access is HTTPS, and the certificate is not issued by the CA, then there wi
-key.pem-out server/ Server.p12
Password: Changeit
Three. Generate client certificates.
1. Create private key:
D:/openssl>openssl Genrsa-out CLIENT/CLIENT-KEY.PEM 1024
2. Create a certificate request:
D:/openssl>openssl req-new-out Client/client-req.csr-key client/client-key.pem-config openssl.cnf
-----
Country Name (2 letter code) [AU]:CN
State or province Name (full name) [Some-state]:zhejiang
Locality Name (eg, city) []:hangzhou
Organization Name (
Keytool can be used to generate JSK types of keystore, which can hold many key (private keys and corresponding certificates).
Import java.io.*;
Import java.security.*;
Import java.security.cert.*;
Import java.util.*;
Import java.math.*;
Import sun.security.x509.*;
Import javax.crypto.*;
public static void Test1 () throws Exception
{
//read KeyStore file to KeyStore object
FileInputStream in = Newfileinputstream ("D:/.keystore");
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.