Find the span from the series of div and apply style to it. It will find out the div which has ID as “columntablejqxgrid” and from that it finds the inner divs whose role is “columnheader”. And once it finds the filtered divs it takes the first child and take the span.
Here let us assume that we have an HTML mark up as follows Now what if to select the elements with the specific attribute. You can do that in the following way.
Using the lang attribute to our HTML element, here I am using a div Using the JQury Selector to select that element This selector will select the div element which has attribute lang as en.
As you know a normal split method is accepting only a character . It will throw an error when we give a string to split. This code shows you how you can use split method to split a string by a string in c#. The queryList will give you the list after split Kindest Regards