Top "Elements" questions

In metadata, the term data element is an atomic unit of data that has precise meaning or precise semantics.

Best way to get child nodes

I was wondering, JavaScript offers a variety of methods to get the first child element from any element, but which …

javascript dom elements children
Get multiple elements by Id

I have a page with anchor tags throughout the body like this: <a id="test" name="Name 1"></…

javascript html elements
How to set DOM element as the first child?

I have element E and I'm appending some elements to it. All of a sudden, I find out that the …

javascript jquery arrays dom elements
Skipping every other element after the first

I have the general idea of how to do this in Java, but I am learning Python and not sure …

python for-loop elements
Android ListView with onClick items

I'm a new programmer and new in Android. I'm using this example http://www.androidhive.info/2012/09/android-adding-search-functionality-to-listview/ and it works …

android listview methods android-activity elements
How to get span tag inside a div in jQuery and assign a text?

I use the following , <div id='message' style="display: none;"> <span></span> <a …

jquery find elements
Number of elements in a javascript object

Is there a way to get (from somewhere) the number of elements in a javascript object?? (i.e. constant-time complexity). …

javascript collections elements javascript-objects
jquery find element by specific class when element has multiple classes

So I am working on something that wasn't well thought out in the build from the backend team. That leaves …

jquery class elements
Is it possible to clone html element objects in JavaScript / JQuery?

I am looking for some tips on how to solve my problem. I have a html element (like select box …

javascript jquery clone elements
XSLT counting elements with a given value

I need to count the number of elements in an XML file that have a particular value (to verify uniqueness). …

xslt count elements