In the case of a customer, we encounter the need to display or hide the record according to certain rules in the pivopointcalendar attempt. In order to obtain the handle of the record, we can use the hyperlink selector to find the syntax rules as follows:
$ ('A [href $ = "ABC"] ')...
The options are as follows:
= The judgment is completely consistent;
! = Inconsistent;
^ = Starts with a string;
$ = End with a string;
* = Contains a string.
You can use $ ('a [href $ = "ABC"]: first') to return the first record in the result set.
To traverse the result set:
The Code is as follows:
$ ('A [href * =/Lists/Booking/DispForm. aspx] '). each (function (){
// $ (This )...
});
If you want to obtain relevant attributes, you can obtain them through $ ('a [href $ = "ABC"]: first '). attr ('title').
If you want to return the text in the hyperlink, you can use the following link (this).html ()