Questions tagged as 'selectores'

2
answers

How to get the name of an element [1], element [2] with jquery

I have selectors who have a name: <select name="selector[]" id="selector"> <option value="1">Valor 1</option> <option value="2">Valor 2</option> </select> <select name="selector[]" id="selector">...
asked by 19.03.2018 / 21:07
1
answer

How to get classes that are not repeated from a Nodelist?

Hi, I would like to know how I can with PURO Javascript to obtain names of CSS classes and be able to show them in the console without repeating names from a list of nodes where I obtain the elements looking for the first class. Elements with cl...
asked by 17.11.2018 / 17:44
3
answers

Edit div container depending on the child

Is it possible to edit an element depending on the child it contains? <div> <section id="content-area">Soy el hijo de div</section> </div> div < #content-area{ border: solid 1px red; } When...
asked by 14.02.2018 / 16:30
1
answer

Problems with selectors applying hover

I was developing a website that has a table and in it I am applying a hover that changes both the background and the letter. The problem is that when I perform the hover with selectors in the execution, the next element of the table is passed...
asked by 05.04.2018 / 14:10
3
answers

CSS selector by rank

Select elements with CSS in a certain range, that is: I have a table with their respective ones now I need that the tr that are from the fourth position to the ninth (9) are in red color, as I do?     
asked by 09.11.2018 / 16:58
1
answer

Children jquery selector

<td class="day base-a" data-month="11" data-year="2018" data-day="05" data-maxday="4"> <label>5</label> <div class="price-tot"> <div class="tb-col"> <span class="price-cal" ></spa...
asked by 30.10.2018 / 19:04
1
answer

get text of a span inside a div - Jquery

HTML <div id="mdCalendar-body" class="mdCalendar-body"> <table class="cal-table"> <thead><tr><td class="days-title">L</td><td class="days-title">M</td><td class="days-title">M</td><...
asked by 26.10.2018 / 17:00