Top "Element" questions

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

Deleting array elements in JavaScript - delete vs splice

What is the difference between using the delete operator on the array element as opposed to using the Array.splice …

javascript arrays element delete-operator array-splice
How can I check if an element exists in the visible DOM?

How do you test an element for existence without the use of the getElementById method? I have set up a …

javascript dom variables element exists
Removing an element from an Array (Java)

Is there any fast (and nice looking) way to remove an element from an array in Java?

java arrays element
Getting DOM element value using pure JavaScript

Is there any difference between these solutions? Solution 1: ...and Solution 2: function doSomething(id) { var value = document.getElementById(id).value; console.…

javascript get element
jQuery counting elements by class - what is the best way to implement this?

What I'm trying to do is to count all of the elements in the current page with the same class …

javascript jquery css element
Counting the occurrences / frequency of array elements

In Javascript, I'm trying to take an initial array of number values and count the elements inside it. Ideally, the …

javascript arrays count element
How to get the focused element with jQuery?

Using jQuery, how can I get the input element that has the caret's (cursor's) focus? Or in other words, how …

javascript jquery cursor element caret
Get element type with jQuery

Is it possible, using jQuery, to find out the type of an element with jQuery? For example, is the element …

jquery element
How do you make an element "flash" in jQuery

I'm brand new to jQuery and have some experience using Prototype. In Prototype, there is a method to "flash" an …

jquery animation element highlight flashing
Access multiple elements of list knowing their index

I need to choose some elements from the given list, knowing their index. Let say I would like to create …

python python-3.x list indexing element