Script I found out that a friend of mine was not very clear about the meaning of this representation in the HTML scripting language. It is estimated that anyone who has studied programming
is very clear, but I still want to be here 381, today:.
This. Represents the current class, such as the following code:
<TABLE>
<tr onclick= "Javascript:alert (THIS.XAMCSDN2);" xamcsdn2= "Xam" >
<TD>e</TD>
<TD>r</TD>
<TD>t</TD>
</TR>
</TABLE>
All the labels on the Web page are objects. The above code must represent <TR></TR>
<table border=1><br>
<tr onclick= "Vbscript:alert (ME.XAMCSDN2)" xamcsdn2= "Xam2" >
<TD>1</TD>
<TD>2</TD>
<TD>3</TD>
</TR>
</TABLE>
As for XAMCSDN2, it is the custom attribute of the <TR>.
Then someone will ask whether <TR> is a class or an entity. This is the <TR> class.
We can document.createelement (' TR '); To create one of the TR entities.
#结束
I hope you support me a lot!
The above code is just a rough demo.
I hope we can discuss dotnet technology with you.