Linked Questions

6 votes
2 answers
5k views

is there a way to get the intersect of selectors in jQuery [duplicate]

I have a set of 4 elements. each one belongs to 2 of 4 classes, so each class combination is unique. I want to find a way, with jQuery, to select only one of the elements, based on it's unique class ...
hoylemd's user avatar
  • 456
6 votes
7 answers
1k views

Remove child class from active div [duplicate]

I have a problem to remove only img class from active div : <div class="thumb thumb-selected"> <img class="img-thumb BWFilter BWfade" src="100x100.jpg" alt=""><img crossorigin="...
Francesco De Pazzi's user avatar
5 votes
2 answers
2k views

Jquery select an element containing multiple classes with based on user input [duplicate]

Possible Duplicate: jQuery multiple class selector I have an input field '#q' where a user can type a search query and returns a set of list items whose classes match it. function queryData() { ...
druesome's user avatar
  • 155
2 votes
3 answers
2k views

How can I select an element with multiple classes in CSS? [duplicate]

What would be the proper CSS selector to target the following tag: <nav class="twelve-col col main-menu"> Would the proper selector just be: .twelve-col col main-menu { }
Bill Wentworth's user avatar
2 votes
1 answer
1k views

jQuery select inputs with more than one class [duplicate]

I have a number of inputs with multiple class: <p><span>Efectivo X: </span><input type="text" class="montox numero caja1" name="mefectx" id="mefectx" maxlength="10" placeholder="...
JuJoGuAl's user avatar
  • 119
1 vote
3 answers
1k views

How to remove li and ol with two class names using jQuery [duplicate]

Please refer to the fiddle at http://jsfiddle.net/D5ss8/458/ <ul class="bjqs-controls v-centered"> <li >test</li> <li>test</li> </ul> <ol class="bjqs-...
Mahendra's user avatar
  • 153
8 votes
2 answers
169 views

I need help accessing a button inside a div [duplicate]

I'm trying to update the value attribute of a button inside a table cell. I'm iteration over each cell and my code looks like this: for (var i = 0, cell; cell = table.cells[i]; i++) { ...
Simmer's user avatar
  • 213
2 votes
2 answers
155 views

jquery selector selector for class not working(bootpeg) [duplicate]

I am using jquery bootpag to display pagination on a page <div class="textgray showing"></div> How should I tell jQuery to select this div? I tried the following without but neither of ...
user2650277's user avatar
  • 6,581
-1 votes
5 answers
167 views

How to Select an Element Using JQuery [duplicate]

Here is my HTML code: <div id="mySignin"> <div class="modal-body"> <form class="form-horizontal @loginGuid"> <div class="captcha"> <...
Mohsen's user avatar
  • 31
4 votes
1 answer
69 views

Identify element using multiple classes in random arrangement [duplicate]

Is there a way to get the element using its classes not knowing the arrangement of classes? I have here a sample HTML <table> <tr class="header first test1"> <th>Month</th&...
shifu's user avatar
  • 670
0 votes
2 answers
95 views

Select more than one class name in the same obj [duplicate]

I'm trying to make a tab filter by jquery. I want to ask how to select only div has class type1 also has class type2 <div class="type1 type2"> </div> //select this one <div class="...
pexichdu's user avatar
  • 889
0 votes
1 answer
89 views

get only divs that have two specific class [duplicate]

I'm trying to get only the div that have two classes and not just one. The problem that in have tried it with jQuery that give me all divs that have one of the classes. <div class='one'></div&...
tobili's user avatar
  • 41
0 votes
2 answers
47 views

Call a class with a class in Javascript [duplicate]

This is probably a silly question. I have this class <div class="about_us aperto"> how do I call it in a JS function? I'm trying: $('.about_us aperto').click(function(){... $('.about_us ....
Federico's user avatar
  • 1,422
0 votes
2 answers
31 views

finding object by class and fade another object [duplicate]

I have a div with a class id of .icon informationIcon. When I "mouseleave" i want the redNotesDiv(which is on the same page) to fade. Right now, this code does not trigger. I've looked at examples, ...
jan86's user avatar
  • 107
0 votes
0 answers
21 views

Jquery .attr returning undefined [duplicate]

Jquery function .attr returns undefined for the below code snippet. <a class="dropdown-item active" href="#" sort-data="A-Z"> <i class="material-icons">check</i>A-Z</a> What ...
Karan Bhatia's user avatar

15 30 50 per page
1
2 3 4 5