Questions tagged [element]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

How to enable other section of Shopify theme of the multipurpose e-commerce website

I have installed one multipurpose e-commerce website "MegaStore" was editing the view of the theme, but while editing some sections has gone, and now I'm only able to see Header and Footer ...
Bhavana Sakat's user avatar
0 votes
1 answer
10 views

How to get the verify in selenium Python

I am writing a test for cancel a data request at the page: https://school.moodledemo.net/admin/tool/dataprivacy/mydatarequests.php There is a pop-up when cancel a data request My code to catch this: ...
prosecutor's user avatar
0 votes
2 answers
53 views

Remove an element from an index in an array

I have a question where i have to remove a an array. for example; 2 (3, 5, 6) In this case in th array . For example, i have to implement this defintion in my main class,
Adam Cole's user avatar
1 vote
0 answers
33 views

Element not enabled

Using a script a modder made for a tool for modding a game. verify_enabledpywinauto.base_wrapper.ElementNotEnabled What does that mean? Tried running the script instead of the auto script file that ...
Lacourse Knight's user avatar
0 votes
1 answer
77 views

How do you include all the permutations' and combinations' probabilities of a given set of elements on python?

I have this code: mainList = ['a', 'b', 'c', 'd'] itemList = [] for i in range(0, len(mainList)): strs = "" for j in range(0, i+1): strs += mainList[j] itemList.append(...
Paul Adeleke's user avatar
0 votes
4 answers
59 views

(Python) Error with printing a specific item from a list, based on user input? [closed]

I have a list of years (ranging from 2023 to 1956), and another list of numbers corresponding to each year (2023 -> 1, 2022 -> 5, etc). What I want to do is ask the user to input a certain year, ...
MannWithPen's user avatar
0 votes
1 answer
32 views

making a variable that is true for elements corresponding with elements of another variable

I have currently created a variable from a csv file called regions including multiple regions. the file has data for the regions ethnicity percentages. regions is currently showing all regions . how ...
sam's user avatar
  • 1
0 votes
0 answers
20 views

Multiple audio elements versus document.querySelector('audio'); [duplicate]

I used css+javascript to customise the style of an audio element (audio tag). <script type="text/javascript"> audio = document.querySelector('audio'); etc... This searches and ...
Riccardo Vescovo's user avatar
0 votes
1 answer
50 views

use puppeteer to scrape paragraph inner text and image title from table td

I have a table with this structure. and i want to scrape from the td with class 'description' the image title and the text from paragraph. I have tried several ways with no luck. Please help me on ...
Gacha SS's user avatar
0 votes
0 answers
36 views

Overlapping irregular elements HTML/CSS

circle which spins and whenever its in the middle I want to highlight arrow, half-circle is done in svg with usage of path element. function elementsOverlap(el1: Element, el2: Element) { if (!el1 |...
Ben's user avatar
  • 13
1 vote
2 answers
43 views

Simple creation of a new element in XSLT

I know it's supposed to be simple, but it's not working out for me. I need to translate XML: <?xml version="1.0" encoding="utf-8"?> <items> <element name="...
MagicWorld's user avatar
-1 votes
1 answer
64 views

Get nth array in multidimensional array in PHP [duplicate]

I have a given path with keys (in a separate array) to a subarray within a multidimensional one. $path_array = array( 'first', 'new', 'best'); $multi_data = array( 'first' => array( 'example'...
stephan's user avatar
0 votes
1 answer
48 views

Can anybody explain to me why this jquery function does not work?

I made a simple code example to narrow down my issue. If I have this code jQuery.noConflict(); jQuery(document).ready(function($) { var dosomething=function(the_selector){ $('.content',...
backups's user avatar
  • 527
0 votes
0 answers
25 views

Create an Express Checkout Element

I have some issues with expressCheckout APIs. After I mount the element and receive the ready event, the event does not have any method available. element.on('ready', function (event) { ...
ralpopo's user avatar
1 vote
1 answer
22 views

Why is the internal representation of a React element returned instead of the React element itself in the console?

function TestComponent(){ const test = ()=> { return <div> <h1 class="text-white">halo word</h1> </div> } ...
Mehedi Hasan's user avatar
1 vote
2 answers
47 views

How do I get the length of elements of each json file in directory containing several jsons

I have a directory with only json files each having a minimum of atleast 1 element foo.json bar.json baz.json I want to create a new json array with above json files which I am able to with following:...
anantha's user avatar
  • 25
0 votes
1 answer
69 views

Element not interactable error : Selenium Python form automate filling

I am using Selenium to automate filling an online form. I have trouble with a checkbox. Here is the page elements list: page elements When inspecting the checkbox, this element is identified: Here is ...
Gary P's user avatar
  • 1
0 votes
2 answers
40 views

How to find multiple elements in HTML by comparison to an array of data attributes?

Given HTML: <div class="element" data-name="cat"> <div class="element" data-name="bird"> <div class="element" data-name="dog"&...
Anna FLYTE's user avatar
0 votes
1 answer
50 views

How to change the background color of a Xamarin Forms picker GUI?

I want to preface this by saying most threads I've researched show how to change the background color of the picker element itself, NOT the GUI. The White Android GUI is really off-putting and doesn't ...
Vincent Bottini's user avatar
-1 votes
1 answer
35 views

why my bash multidimensional array code is not working? [duplicate]

i am trying to make a multidimaensional array in bash and access the elements. but its not working. I tried with this code but there's error # Create an indexed array to hold the inner arrays ...
masrur's user avatar
  • 23
0 votes
0 answers
58 views

How to access the last element of a bash associative array?

I am trying to access the last element of a bash associative array using the below code: # Declare an associative array declare -A myAssocArray # Add key-value pairs to the associative array ...
masrur's user avatar
  • 23
0 votes
1 answer
56 views

How to target an element inside a shadow DOM from another web component wrapped inside it

Well, I'm not sure I've been clear by the question title... sorry. I would like to show a wc-tooltip I'm already using without problems on the DOM: <div> You can use <span class="disk-...
vitto's user avatar
  • 19.2k
-1 votes
1 answer
29 views

How to count an element having the same class using tampermonkey

I would like to implement a script in tampermonkey that can count a specific class for example (main) and give a popup of the total count after the page fully loads I am new to javascript and dont ...
Prasnjit Singha's user avatar
0 votes
1 answer
41 views

How can I remove innerHTML of an element [duplicate]

I write some JS code to change name. When I click on the button I expect the old name to disappear, however, the code ignore the first line and go on to the alert box part. I don't know what wrong ...
Linh Chi's user avatar
-1 votes
1 answer
34 views

How can i add more than 1 input tag in Javascript

This is my creat element tag: const addinput = document.createElement("input"); This is my add btn: const addbtn = document.querySelector("#plus") Function is: addbtn.onclick = ...
Moein_fadakar's user avatar
0 votes
2 answers
47 views

live summing numbers from input fields and displaying it JavaScript

I am trying to figure out how to sum and display input numbers as live calculation. It kind of works but the calculations are wrong. With each iteration it adds bigger number, like in arithmetic ...
Bart1993's user avatar
0 votes
0 answers
33 views

In vue 3 is possible inject html code with directives obtained from an ajax request and have it recognize them?

I am currently working on a page that we are updating from jQuery to Vue 3. The page comes from the server with content rendered in a specific container and makes Ajax requests on demand to display ...
Gerardo Cignarella Godoy's user avatar
1 vote
2 answers
27 views

Php order array by number of elements

Consider this simple example array: $letters = [ ['a', 'c', 'f'], ['c', 'f'], ['b', 'd', 'x', 'c', 'f'], ['f'] ]; I need to order the array in descending order by number of letters (...
G. Rey's user avatar
  • 35
0 votes
1 answer
51 views

How to click a random span element with Puppeteer

I am trying to automate a bot to randomly select a tool/ link on my page "KRC SEO TOOLS" with all the same span elements each time the page is been loaded or refreshed. I have tried so many ...
Julian Singh's user avatar
0 votes
0 answers
35 views

Selenium VBA fails to install from two different sources. Says it is corrupted

I am an old geiser and am using and wish to stick with Windows 2007 pro and Office 2007. But certain websites that I am trying to access refuse to load. I am new to object programming and have learned ...
James Burgauer's user avatar
0 votes
0 answers
37 views

Google App Script - XML Parse - Can not get elements from 4th Child level

I Have this HTML, from google drive. <rDE xmlns="http://ekuatia.set.gov.py/sifen/xsd" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/...
William Belini's user avatar
0 votes
1 answer
31 views

Wrap lines of a plain text with xml elements

I have this xml input (it is a proper xml, I previously add the root tag to use the xslt). <root> Line 1 Line 2 Line 3</root> And I need this output. <root> <line>Line 1</...
James Taylor's user avatar
0 votes
2 answers
30 views

Stale Element Exception

public class ClearSearch { public static void main(String[] args) throws InterruptedException { //Step 1: ChromeDriver driver = new ChromeDriver(); driver.manage()....
Thangam M's user avatar
0 votes
0 answers
44 views

The solution on how to wait for element to be visible in Shadow DOM

Currently there is no out of box solution in the Robot Framework libraries on how to wait until the element is visible on the page in shadow DOM. I came up with one approach. Perhaps it will be useful ...
Igor Bosyi's user avatar
0 votes
1 answer
23 views

WPF, Control can't access to ElementName from the CommandParameter with the underlying Control in ControlTemplate

i would need some help with this code, I could bind the imageBrush with the name: "ImageBrush1F" inside the CommandParameter of Border.InputBindings. The first code works, but the second one ...
Arsen Musaev's user avatar
0 votes
1 answer
526 views

Integrate Stripe Payment Element in Next.js 13 App Router TypeScript Project

UPDATE: Thank you for your reply, Александр Невский! Now I am trying to get this to work. https://github.com/vercel/next.js/tree/canary/examples/with-stripe-typescript I can't get past this error: ...
jake's user avatar
  • 1
1 vote
2 answers
37 views

Adding a subgroup to an XML document

I have been searching through multiple explanations, but I don't seem to be able to find a solution. My XML looks like this: <?xml version="1.0" encoding="utf-8"?> <...
ZZ51f9's user avatar
  • 19
-1 votes
1 answer
65 views

How to access an element of a std::vector<std::vector<std::set<std::string>>> in C++?

I am currently trying to rewrite a Github Repo which calculates the equity of a range vs. range. I am also trying to connect my python code to this C++ code, because to calculate equity the author ...
Alex Konopatski's user avatar
0 votes
3 answers
130 views

How to select the html element in React?

I want to select the theme value to change it based on localStorage value to set the light/dark theme, how can I do that in React? I know I can use Ref hook in a component but how can I select a dom ...
user avatar
0 votes
1 answer
42 views

How to get children of xml element with dart?

I would like to have all children of an element. I have tried following: import 'package:xml/xml.dart'; import 'dart:async'; import 'dart:io'; import 'package:xml/xpath.dart'; final bookshelfXml = '''...
bangdt's user avatar
  • 27
0 votes
1 answer
24 views

Reading an optional attribute of a XML Node in python3

I'm trying to read a XML file in SAX in Python3, because in my pet project I have in inptu a full directory of XML file representing some GTD projects1 . The file has this format <project name = &...
alepuzio's user avatar
  • 1,392
0 votes
1 answer
17 views

Can't access keyword in React.js

I am trying to access a keyword in order to display "You are searching for (any keyword)" but it displays "You are searching for undefined". Can you identify the issue? Thank you ...
Nikola Georgiev's user avatar
0 votes
1 answer
38 views

Making text fit in background image while resizing window

I am a beginner web dev, and I have a problem regarding CSS. So essentially, I want to make my h1 and all of my nav links fit inside of the background image I have in the body. Home Page full screen ...
Aurora Cabrera's user avatar
-1 votes
1 answer
62 views

How to double click using selenium with vb.net code? 4.0 framework

I do not know how to double click on an element in visual studio.net framework. I search the web and I get c# examples. I do not know that language. I am new to vb.net and want to learn more. I have ...
Margaret B.'s user avatar
0 votes
0 answers
32 views

Need to add two div to same block - shopify noob

I am a shopify noob who is new to html and css. shipping and price This image shows what im talking about. Now i will show u the 2 div one is price other is the free shipping thing and its called ...
e commerce's user avatar
0 votes
0 answers
30 views

Query to get payroll element details with tis rules and rule values in oracle Fusion?

I want to Migrate payroll elments from one instance to another using HDl. But not be able to get all elemtnts rules details. i have uploaded using .dat file.its successfully done. but not all elements....
feny's user avatar
  • 1
0 votes
0 answers
10 views

I need to learn id of an element using php to update it on database [duplicate]

I am trying to make an product listing page. So i need to make delete and update buttons for all of them. So, i found an idea that can help me. Its something like that; <form method="post"...
KutDev's user avatar
  • 3
0 votes
1 answer
31 views

First word from each cell in a range

Need the first word from each cell in a range that is passed into a custom function. The logic in the custom function works when used on a explicitly defined array within the function that was used ...
Drew254's user avatar
  • 65
0 votes
1 answer
36 views

Output element names and attributes via XSLT

I am working with an xml file and want to output the element names and attributes. I have it working to a point but have hit a brick wall with some nested elements. The issue I have is that my ...
IIAND's user avatar
  • 7
0 votes
1 answer
19 views

How to sort a parallel array to get the greatest and smallest value

I have two parallel arrays. one is type String and the other, type int. I want to sort them in ascending order while maintaining data consistency, keeping them parallel, to get the entry with the ...
Venus Mthethwa's user avatar

1
2 3 4 5
126