Skip to main content

Questions tagged [element]

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

0 votes
0 answers
22 views

Sign in - Google accounts (choose a account) - Cant seem to be able to click the account (python selenium)

Its the page where you choose which account to login with on a website. I have a hard time clicking the account element. I have no idea if im writing the wrong path or it has something to do with a ...
Kaka's user avatar
  • 1
0 votes
2 answers
41 views

Load SVG code in HTML elements by class, can't select multiple elements with the same class

I'm trying to show SVG coded icons through JS in a number of HTML elements. I figured out how I can show it once, but I can't get GetElementByClassname to select multiple elements. This is the code I ...
Namteor's user avatar
  • 19
1 vote
1 answer
40 views

FlowRow make elements in row stretch to available width

In Jetpack Compose FlowRow, how can I make the elements within the rows stretch the full width of the screen. If this code is run on a Pixel 8, the first 4 names are on one row which is what I want, ...
Vaz's user avatar
  • 508
2 votes
2 answers
79 views

How do i use "my" to declare array and element in perl?

If I have an array, say @test and refer to items in the array as $test[0], etc. how should a my statement look? one of the following? my (@test,$test); # array and element my (@test); #just the array ...
deerey's user avatar
  • 45
-1 votes
0 answers
25 views

What is the reason of incorrect order of elements using Swiper(swiper/react)

Code from VS Code Code from Chrome Inspect Window As you can see on the first image <div className="polygon-3-sm bg-gradient-radial w-11/12 h-[150px] relative rounded-sm mx-auto mt-4 order-...
octocat0415's user avatar
0 votes
1 answer
17 views

Conditionally changing elements of a numpy array using for loop

I have a two dimensional numpy array, and I'm wanting to change all of the 'male' values to 0 and all of the 'female' values to 1. If I try to assign arr2D[row,element] to a specific value, I get an ...
Brandon Harrell's user avatar
0 votes
1 answer
25 views

jQuery find a li element within ul

I've a function, which should remove a li element from a list identified by the id. I use jQuery and this call $("#selector").find("li[id='" + id.substring(4) + "']")....
sunics's user avatar
  • 43
0 votes
0 answers
39 views

Obtain a view or reference to a list node in C#

Instead of using a ringbuffer for a polygon, where I need to copy elements when removing one item, I'd like to do this efficiently with a list, with O(1) overhead for removing any item and O(1) access ...
ChrisoLosoph's user avatar
5 votes
6 answers
113 views

Count consecutive elements in Pandas list

I have created the following pandas dataframe: import pandas as pd import numpy as np ds = {'col1':[1,"S",3,4,"S"], 'col2' : [6,"S",8,9,"S"],'col3' : [67,None,...
Giampaolo Levorato's user avatar
1 vote
1 answer
37 views

Special case for &lt and &gt [duplicate]

what would I do if i just randomly wanted to write &lt or &gt in HTML but I don't want to make it appear as a < or >. I understand I can use Javascript but I'm just wondering if there's ...
squago's user avatar
  • 31
0 votes
0 answers
24 views

How do I select(?) an element in a 3D array and place the appropriate elements into another array? Powershell

Here is a portion of the code. $importData = @() for ($i = 0; $i -lt $importData1.Count; $i++) { Write-Host "Debug: Variable `$i is $i" switch -Regex ($importData1.Vlan[$i]) { ...
K_P's user avatar
  • 1
0 votes
4 answers
69 views

How to convert HTML element attribute value string to function like onclick [duplicate]

I'm working with custom elements which execute a callback after something happens. When adding this element in HTML, <custom-element callback="change(this)"></custom-element> ...
user avatar
0 votes
1 answer
55 views

Replace an empty element

As a part of my workflow I am receiving xml files, sometimes a specific element is empty and this leads to problems in the system, this is a sample input file: <?xml version="1.0" ...
ago1965's user avatar
1 vote
1 answer
38 views

Defining a set from a list of elements in python script for Abaqus

I have a tuple called E3 containing element numbers, for instance: (array([ 136, 2593, 3061, 4348], dtype=int64),) Now, I would like to define the set of these elements. Until now, I haven't ...
Victor Fachinotti's user avatar
0 votes
0 answers
19 views

Chrome Extension - get element right clicked on?

my extension was using the clipboard to send text to the focused element.. well v3 broke it. cant get the clipboard working now so, hoping this may be a different solution. I would like to capture the ...
StaticFX's user avatar

15 30 50 per page
1
2 3 4 5
419