All Questions
663
questions
0
votes
0
answers
12
views
Case insensitive search jQuery [duplicate]
Please help me with a question.
There is html with this structure (simplified):
<div id="data">
<div description="Andy">
<div class="ig"><a ...
0
votes
0
answers
15
views
How can i loop through all ids starting with chart in the element? [duplicate]
I am using jquery to find a div with a specific class name.
$founddiv = $this.find(".more-info");
Now I want to loop through all divs in $founddiv starting the id with "chart...".
...
0
votes
2
answers
37
views
jQuery - find object in array of objects based on partial match of one element
I have an array of objects, with one element being comma separated list of values.
When a new object is created, I want to check if there is an object in the array that, among other things, might ...
0
votes
1
answer
192
views
How to get deployment name in all namespaces with specific secret used/containing specific text on the deployment yaml?
I've tried using grep but only secret name showing up, kindly help please , thank you
kubectl get secret --all-namespaces -o yaml | grep <secretname>
0
votes
1
answer
63
views
JQuery find() syntax not working in v 1.12
I have some legacy JQuery code in version 1.4.3 and i'm trying to upgrade to version 1.12.4 (before eventually upgrading to v 3.x).
However, this piece of code that used to work in 1.4 is no longer ...
0
votes
1
answer
185
views
Jquery XML find where attribute equals a specific value?
I have a Jquery website that pulls and displays a specific value from an XML source that is structured like so
<alerts>
<alert type="FIRE" status="CLEAR" id="xxxxxx&...
0
votes
1
answer
363
views
JQuery looking for the nearest or the value of a label input
I am new to JQuery. I want to find my inputted value in many labels. I have a Find button. Here is my html. Here is my screenshot.
And here is my JQuery code, i tried different codes, but none of them ...
0
votes
4
answers
77
views
How to remove undefined from a list of items?
How to prevent appearing undefined in the output?
var item1 = $(result).find('.item:nth-child(2) a').html(),
item2 = $(result).find('.item:nth-child(3) a').html(),
item3 = $(result).find('....
0
votes
0
answers
32
views
Best way to find few documents, (less than 0.01% ) with unusual data in one field using index
My app works with MongoDB using mongo_dart.dart version 0.7.4+1 .
One of the collections has about 60K documents.
One of the fields in this collection, X, can be empty or contains text.
Almost all the ...
1
vote
1
answer
275
views
jquery how to check near element with certain class exist?
I have two element inside <tr>:
<table>
<tbody>
<tr>
<td><input type="text" class="form-control input-state" onclick="myfunction(this)"...
0
votes
0
answers
27
views
Use of this in jQuery find() and .each() [duplicate]
I have an example where I use jQuery to get and replace titles attribute of images. ( I change title attribute for the purpose of translation). Here an example, that works, but I can not understand ...
0
votes
2
answers
32
views
Using $(this) inside of a find function jquery
I need to find a div with class 'controller_hover' and then be able to access it with $(this) so I can toggle the next or previous div on a controller dpad left and right.
I have this snippet for the ...
0
votes
1
answer
281
views
Filter json element with values stored into another object
I have the following JSON:
var json = [
{
"Key1": some text...,
"Key2": some text...,
"Key3": [
{
"Key": ...
0
votes
1
answer
59
views
find element in array within array mongoose
I have this data:
[
{
contacts: [ [Object] ],
_id: 614a1301a926d73628d791fe,
username: 'erick',
socketId: 'OB8uqmHnsGPKC3gcAAAB'
},
{
contacts: [
contacts: [ [Object] ...
0
votes
2
answers
286
views
JQuery - Find and replace text
I'm trying to replace only the text of "Product Number/Description" to "Product Number". Here's the line of code:
<td><input type="checkbox" name="dessearch&...