I  have got the below HTML as a response .  &lt;div id="69" class="activateUiHTML" data-role="collapsible"&gt;     &lt;div class="prd-items-detials"&gt; &lt;/div&gt;     &lt;div style="" class="Topping-details" id="69"&gt;         &lt;section id="topping_tsection_69"&gt;             &lt;aside&gt;                 &lt;section class="secclass"&gt;&lt;a data-id="69" topp_name="Honey with Carmel  10 ML"  class="tpActive"&gt;Honey with Carmel  10 ML&lt;/a&gt;&lt;/section&gt;             &lt;/aside&gt;             &lt;aside&gt;                 &lt;section class="secclass"&gt;&lt;a data-id="70" topp_name="Honey with Carmel  10 ML"  class="tpActive"&gt;Honey with Carmel  10 ML&lt;/a&gt;&lt;/section&gt;             &lt;/aside&gt;         &lt;/section&gt;     &lt;/div&gt; &lt;/div&gt;   I need to find out if any section has got class as "tpActive" ??  I wrote the below , but don't know how to check further ??  $('#'+v_item_id+'.activateUiHTML').find(".Topping-details").find("section")   could anybody please help me .  Updated Question    if($('#'+v_item_id+'.activateUiHTML').find("Toppingdetails").find("section").hasClass("tpActive")) {    alert('has'); }else {    alert('No'); }
I'm working with jQuery and looking to see if there is an easy way to determine if the element has a specific CSS class associated with it.  I have the id of the element, and the CSS class that I'm looking for.  I just need to be able to, in an if statement, do a comparison based on the existence of that class on the element.
How can I exclude API keys, passwords, and so on from configuration management? I am using Drupal 8 and drush cex to commit my configuration to my repository.  However, I want to keep passwords and API keys out of the repository.  How do I do that? (selectively exclude sensitive information from configuration management).  For example, I'm using the  module, but I noticed that in addition to the SMTP server and sender's name, etc., it also exports the API key to code, which should not be exposed.  I want to manage module configuration with configuration management, but I don't want to commit the key. Word for a person being used I'm looking for a word to describe someone who is being used. I want a noun to describe this person, not a verb or or adjective.  Maybe like a pushover. What is the fallacy that privileges one person over another? I see this a lot, someone in a category of people attempts to shut down anyone with an opinion that is not from the same category. For example, people without children weighing in on parenting; the parent may say something like "well, since you don't have kids and I do, my position is of more validity than yours."  Another example: a drug user (of some kind) telling someone who has never done drugs and does not care to, "until you tried it, you have no right to judge me."  People frequently try to limit the consideration on opinions to those in their same group, while it is perfectly reasonable that the non-drug user, especially if they are a chemist or well read on the subject, may have an equally valid opinion, or even more valid. In fact some might even say that someone NOT in the category has a better chance of being objective and seeing the forest for the trees.  So what is the fallacy of trying to shut down opinions when the source of the opinion is not someone who has personally had the experience under discussion? I wish to select areas of a mesh, but it would be much simpler to just select the ones I don't want selected (because they are easier to access), and then inverse the selection.  Is this possible? When Bottom Navigation Isn't Best I'm developing a mobile app and dealing with various UI/UX issues. I'm open to all kinds of ideas at this stage, however some designers I consult with seem to be zealots for bottom-navigation and are hesitant in actually analyzing whether the bottom-nav is actually best for my app; they just want me to use the bottom tabs navigation as if it's some UI law.  One point I try to bring up is that my business model has users who aren't typical one-handed mobile users, are tech savvy, would use my app more of a tool, and would spend only a few minutes in it. The app isn't a typical lazy-content-browsing experience where you want to minimize fingers-over-top-of-screen interference, and where you want to keep the use transfixed and spending time in the app.  Anyways, I'd like to hear about situations where a bottom nav was decided-on, or started-with, and you had good reason to eliminate it and go with another navigation design.  Most articles out there talk about eliminating hamburger menus and diving into bottom nav. Is the converse simply going back to hamburger menu? I am looking for      an example of a ring where unique factorization does not hold. However the ring is supposed to have the property that every irreducible is already a prime.    So unique factorization should fail because one cannot decompose every element into a finite product of irreducibles. In particular the ring must not be Noetherian. What is an example of such a ring? Other word for person who does something to others but does'nt like it done to them This is a duplicate question but has still not been answered for me. I'm so close to the exact word - I know there is one out there - but the closest word I can find is a hypocrite --     a person who claims to have certain moral principles or beliefs but behaves in a way that shows they are not sincere.    The word I'm looking for is a person who does not claim things, but does thing to another and they consider it wrong or immoral to have done to them. Which Harry Potter works are considered canon? There are many different Harry Potter works including:   books short stories movies card games video games toys amusement parks web content   Which ones are considered to be canon? I would like to know if my brother can fly by United Airlines from USA to El Salvador, and my father, from El Salvador to USA using the same round trip ticket, both of them have the same name. Einstein's big revelation was that time and space are inseparable components of the same fabric. Physical observation tells us that distant galaxies are moving away from us at an accelerated rate, and because of the difficulty (impossibility?) of defining a coordinate system where things have well defined coordinates while also moving away from each other without changing the metric on the space, we interpret this to mean that space itself is expanding.   Because space and time are so directly intertwined is it possible that time too is expanding? Or perhaps it could be contracting? MVC DateTime binding with incorrect date format In Group theory proofs what is meant by "well defined" What is exactly meant or required for a mapping to be well defined. I was reading the first Homomorphism theorem () and the first thing the proof does is define a map and find it if its well defined.  Intuitively it makes sense, but what are the requirements for a map to be well defined? For example in the link given, I understand they show one-one relationship as being well defined and later on they again prove its injective.   What have I understood wrongly?  Soham Define Pressure at A point. Why is it a Scalar? I need to parse  strings like "2008-09-03T20:56:35.450686Z" into Python's datetime type.  I have found  in the Python standard library, but it is not very convenient.  What is the best way to do this? Rewrite Sharepoint URL (Sharepoint 2013) I'd like to rewrite all my site urls in the way the the user can't figure out the exact name of the the page his viewing. let's say that my site is "www.justarandomsite.com"  and may page is "page.aspx" I' like to have instead of "www.justarandomsite.com/pages/page.aspx" sothing like this: "www.justarandomsite.com/skdhfjksdgfjksdgfjdsgvdjhsgfjdsdsjfgkdsjgfkdsgfjdsgfjkdsg" Prove that if 51 positive integers between 1 and 100 are chosen, then one of them must divide another. Given $51$ integers $a_1, a_2, \ldots, a_{51}$ satisfying $1 \leq a_i \leq 100$. Prove that there exist $i$ and $j$ such that $a_i \mid a_j$.   I'm a little unsure how to approach this problem. Thanks for any help. Rethrowing exceptions in Java without losing the stack trace In LWC am trying to iterate over a list and show the details from the list, this is working correctly , but as a header want to show the record number in a displayed order, below is desired outcome and simplified sample code.  Desired OutCome:   Employee Record 1: A  Employee Record 2: B  Employee Record 3: C   JavaScript:  Var empNames = ["A" , "B" , "C"];   HTML:  &lt;template for:each={empNames} for:item="employee" for:index="index"&gt; Employee Record{index} {employee} &lt;/template&gt;    Actual outcome  Employee Record 0: A  Employee Record 1: B  Employee Record 2: C   I understand as i am using {index} which indicated the position of element in an array which starts from 0 my actual outcome also starts like Employee Record 0 instead of Employee Record 1, but is there a simple way without writing much logic on JS to handle this in html and to make my headers starts from 1 instead of 0? Is it possible to browse the internet from a laptop so that the web sites you visit think you are browsing from a mobile device?  Say I need to connect via a very low bandwidth connection and just using the mobile version of the site is sufficient?  Currently I'm using Vista and Firefox 3.5 Magento: Merge Product Description and Addition Information Tab