Method for binding data to HTML webpage element
A technology for HTML webpages and elements, which is applied in the field of binding data and HTML webpage elements. It can solve problems such as global variable naming conflicts, troublesome webpage programming, and the inability to intuitively reflect the relationship between data and HTML webpage element objects, so as to avoid naming conflicts. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.
[0018] see figure 1 , shown in the figure is a method for binding data with HTML webpage elements of the present invention, comprising the following steps:
[0019] Step S1, creating an object for storing data when the HTML web page is initialized;
[0020] Step S2, generating a random character string as an identification character string, which is composed of a fixed character string and randomly generated random numbers;
[0021] Step S3, writing the generated identification string into the attribute of the HTML webpage element, so that the identification string is bound to the HTML webpage element. Specifically, writing the generated identification string into the attribute of the HTML webpage element refers to adding an additional attribu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
