3,862 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-4
votes
1
answer
74
views
How can i manage this each function code? [duplicate]
how can i rewrite this old code in php 7.xxx compatible ? i comes from a old phpnuke...
if( is_array($HTTP_GET_VARS) )
{
while( list($k, $v) = each($HTTP_GET_VARS) )
{
...
1
vote
2
answers
90
views
Azure pipelines conditions with each loop inside the condition
I have a job in azure-pipelines that receives a variable number of dependencies.
It could have zero dependencies, or "n" dependencies depending what previous jobs were executed before this ...
0
votes
0
answers
46
views
Jquery each SVG element
Here is my problem: I use the Wordpress image map pro plugin to generate plans with clickable areas in SVG. When the page loads, the HTML code is generated. I want to loop in jquery on the SVG ...
0
votes
2
answers
65
views
Get the each cell data from Table cell and Append to UL
I have a table with multiple rows (dynamically) with cell data.
I want to get the each row data and append to as list item
jsFiddle
Table
Desired Output:
Raj
English: 86
Maths: 73
Science: 68
Mukund
...
-1
votes
1
answer
63
views
getJSON loop in Jquery dosent return all objects
I have a specific problem.
I have one JSON file that contains all JSON files in a folder.
I am iterating through that in a function where i create an array,
I take that array and send it to another ...
0
votes
1
answer
93
views
Is it possible to limit results from Svelte {#each} loop by a certain amount?
I'm using an {#each} loop to showcase data, but I'm curious if Svelte has a way to limit the results by an integer.
For example, if I had the following array and loop:
const object = [1, 2, 3, 4, 5];
...
0
votes
2
answers
46
views
Getting the first element in multiple divs jQuery
Trying to apply css to the first element in multiple divs with the same class. In the example below, it works in the first div, but not the second one. What's wrong with this picture?
<script>
...
1
vote
4
answers
89
views
Can I get all hyperlinks that contain "@" then open them in new tabs?
I'm trying to open all hyperlinks on a page with link text that includes the "@" symbol.
Here's an example below
[[email protected]](https://stackoverflow.com/2342342352)
[[email protected]](...
1
vote
1
answer
52
views
Sass Each Map loop on modifier classes with a default variant
I'm having trouble to avoid having duplicate code.
I have an element which can have size modifiers to alter the appearance of the element: sm, md, lg. Let's say my element is called .element and my ...
1
vote
1
answer
305
views
How to use dynamically updated variable in Azure Pipeline each statement?
Here is a simple Azure Pipeline that illustrates my problem:-
jobs:
- job: BuildAndTest
steps:
- script: |
echo "##vso[task.setvariable variable=nuGetPackagesToBuild;isoutput=true]...
1
vote
0
answers
351
views
Add variation price to WooCommerce swatches (using append)
I use a WooCommerce variation swatches plugin to convert the default select dropdown to clickable text buttons.
Now I would like to add the price of that variation to the swatch. The plugin does not ...
0
votes
1
answer
197
views
JavaScript function openFullscreen() , how to get it worked for several iframes on the page
On page I have an iframe with *.pdf file in src.
<div class="node--view-mode-full">
<p><iframe allow="fullscreen" allowfullscreen="" frameborder="0&...
0
votes
1
answer
62
views
jquery - how to pass DIV text in a set of elements to another set of elements?
I need to get the text of each H3 tag and add this text to the relevant (read more link ) in a P tag .
I want this outcome :
var headingContent = jQuery('.eael-grid-post-link').text();
jQuery("....
0
votes
1
answer
33
views
Jquery if else structure on click each function
I have 6 divs, all with a general class name ".scene", and also have individual class names as ".scene1", ".scene2", ".scene3", ".scene4", "....
-1
votes
1
answer
58
views
How to link the function of a button to a single marker of an array
I have an array with 20 element like this:
they are showed on the map with a green marker, but I want that when i click on the button and some property are respected, the marker turns red.
The problem ...