Trending questions in Edureka Community

0 votes
0 answers

Detect MacBook trackpad two-finger tap with JavaScript/jQuery

I wonder if there's any way to ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 23,260 points
848 views
0 votes
1 answer

"We do not use C++ exceptions" — What's the alternative? Let it crash?

If you don't utilise exceptions, by definition, ...READ MORE

Aug 2, 2022 in C++ by Damon
• 4,960 points
626 views
0 votes
0 answers

Typescript error (2345) when pushing element to array of elements(React js)?

I'm pretty new to Typescript and I ...READ MORE

Jul 5, 2022 in TypeSript by Nina
• 3,060 points
1,876 views
0 votes
1 answer

Examples of good gotos in C or C++

Here's one method I've heard of folks use. But I've never seen it in the wild.  And that only pertains to C since RAII allows you to accomplish this more idiomatically in C++. void foo() { if (!doA()) ...READ MORE

Aug 2, 2022 in C++ by Damon
• 4,960 points
623 views
0 votes
1 answer

Smooth scrolling when clicking an anchor link

document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', ...READ MORE

Jun 20, 2022 in JQuery by rajatha
• 7,680 points
2,480 views
0 votes
1 answer

Where to find TypeScript version in Visual Studio?

If you only have TypeScript installed for ...READ MORE

Jun 7, 2022 in TypeSript by Nina
• 3,060 points
3,128 views
0 votes
0 answers

Selecting parent's next sibling's children in jQuery

This is an illustration of a part ...READ MORE

Aug 4, 2022 in Web Development by gaurav
• 23,260 points
534 views
0 votes
3 answers

Python pandas: TypeError: tuple indices must be integers or slices, not str

In fact, I get a perfectly good ...READ MORE

Jun 13, 2019 in Python by Alok
51,698 views
0 votes
0 answers

Which is better way to calculate nCr

Approach 1: C(n,r) = n!/(n-r)!r! Approach 2:  I discovered this in Wilf's book Combinatorial Algorithms: C(n,r) may be represented as C(n-1,r) + C (n-1,r-1). e.g. C(7,4) = C(6,4) + ...READ MORE

Jul 25, 2022 in C++ by Nicholas
• 7,760 points
1,008 views
0 votes
0 answers

Jquery Masonary and item filtering does not work together

I am using a small js filter ...READ MORE

Jul 25, 2022 in Web Development by gaurav
• 23,260 points
857 views
0 votes
1 answer

How to create material design input form using css and bootstrap?

Try with this code. HTML: <div class="main_div"> ...READ MORE

Jun 21, 2022 in CSS by Edureka
• 12,700 points
2,690 views
0 votes
0 answers

Make a full screen CSS background image appear "behind" a mobile keyboard

I've set an HTML/CSS full-screen background image ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,670 points
1,300 views
0 votes
1 answer

'adb' is not recognized as an internal or external command, operable program or batch file

Set the path of adb into System ...READ MORE

Feb 16, 2022 in Others by Aditya
• 7,680 points
7,819 views
0 votes
0 answers

Server Tomcat v9.0 Server at localhost failed to start

I am using Tomcat server v9.0 but ...READ MORE

May 23, 2022 in Java by Kichu
• 19,040 points
3,693 views
0 votes
0 answers

How can I call a WordPress shortcode within a template?

There's a plugin for the Contact us form. All ...READ MORE

Aug 3, 2022 in PHP by Kithuzzz
• 38,000 points
597 views
0 votes
1 answer

How do I access FooBox lightbox jQuery Events API?

Their docs site doesn't seem to be ...READ MORE

Aug 1, 2022 in Web Development by rajatha
• 7,680 points
646 views
0 votes
1 answer

Download File Using JavaScript/jQuery

Suppose you want to download a file ...READ MORE

Jun 3, 2022 in JQuery by Edureka
• 13,690 points
3,192 views
0 votes
0 answers

How can I style even and odd elements?

Is it feasible to choose even and ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,670 points
812 views
0 votes
0 answers

Decode base64 string - php

Is there any way to decode this ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,600 points
1,134 views
0 votes
0 answers

Storing C++ template function definitions in a .CPP file

I have some template code that I'd rather have saved in a CPP file rather than inline in the header.  I know this is possible if you know which template types will be utilised.  As an example: .h file class foo { public: template <typename ...READ MORE

Jul 26, 2022 in C++ by Nicholas
• 7,760 points
881 views
0 votes
0 answers

Adding to a vector of pair

I have a pair vector that looks like this: vector<pair<string,double>> revenue; I'd want to add a string and a double from a map that looks like this: revenue[i].first = "string"; revenue[i].second = map[i].second; However, because revenue is not initialised, it returns an out of bounds error.  So I ...READ MORE

Jul 26, 2022 in C++ by Nicholas
• 7,760 points
874 views
0 votes
0 answers

jQuery ui dialog add a help icon in the titlebar

I'd like to add a help icon ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
846 views
0 votes
0 answers

Finding the position of bottom of a div with jquery

I have a div and want to ...READ MORE

Jul 27, 2022 in Web Development by gaurav
• 23,260 points
815 views
0 votes
0 answers

How to Sort a Multi-dimensional Array by Value

How can I sort this array by ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 38,000 points
764 views
0 votes
0 answers

CSS to make HTML page footer stay at bottom of the page with a minimum height, but not overlap the page

I have the following page, which contains ...READ MORE

Jul 19, 2022 in HTML by Tejashwini
• 3,820 points
1,231 views
0 votes
0 answers

Mobile number validation pattern in PHP

I am unable to accurately write the ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
923 views
0 votes
0 answers

How to copy turbo c++ output?

How can I replicate the output of Turbo C++?  I had already Googled the issue, but in vain.  It suggests to either print scrn and paste or right click, select all, and paste.  I tried both, but neither worked.  The issue is that it simply copies what is on the current screen.  But I want the entire screen from the start.  (Alt+printscrn is also ineffective).  What should I do in this situation? printScrn Alt+printScrn markall None of them are operational!! I can't assist you if you require this archaic technique of programming for whatever reason, but I'd want to find a solution.  I tried forwarding the output stream to the file in this manner, but it did not work. #include<iostream.h> #include<conio.h> #include<stdlib.h> const int max=50; class dequeue{ int dq[max],r,f,c,x,i; public: dequeue(); void insertRear(); void insertFront(); void ...READ MORE

Jul 7, 2022 in C++ by Nicholas
• 7,760 points
1,609 views
0 votes
0 answers

Page Reload/Refresh executes $(document).ready() on every page in jQuery Mobile

My jQuery mobile applications consists of multiple ...READ MORE

Jul 22, 2022 in Web Development by gaurav
• 23,260 points
1,084 views
0 votes
1 answer

Why would anyone use set instead of unordered_set?

Unordered sets must compensate for their O(1) ...READ MORE

Jun 1, 2022 in C++ by Damon
• 4,960 points
3,284 views
0 votes
0 answers

Send attachments with PHP Mail()?

I need to send a pdf with ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,000 points
723 views
0 votes
0 answers

how use tippy .js in tooltip in jquery

I want to use some classes in ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
830 views
0 votes
0 answers

JQuery use variable by name of divID

Just a quick question, that I cannot ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 23,260 points
1,210 views
0 votes
0 answers

jQuery(...).iris is not a function

I am trying to implement color picker ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
778 views
0 votes
0 answers

how to use fontAwesome icon from css

Can I use the font-awesome icon with ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,670 points
766 views
0 votes
1 answer

C# DateTime to "YYYYMMDDHHMMSS" format

Use this. It is case sensitive by ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
2,758 views
0 votes
0 answers

Advantages and Disadvantages of Inheritance in php

Could someone please explain the main benefits ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
764 views
0 votes
0 answers

What is an abstract class in PHP?

What is an abstract class in PHP? ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 38,000 points
654 views
0 votes
0 answers

What is meant with "const" at end of function declaration?

I received a book in which it is written: class Foo { public: int ...READ MORE

Jul 28, 2022 in C++ by Nicholas
• 7,760 points
678 views
0 votes
0 answers

Javascript/jQuery - Display inches in feet and inches

I'm making a BMI calculator (see JSFiddle ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 23,260 points
766 views
0 votes
0 answers

Concatenate two numpy arrays in the 4th dimension

I got two numpy arrays in three ...READ MORE

Aug 1, 2022 in Python by krishna
• 2,820 points
624 views
0 votes
0 answers

Draw divs in elliptical shape with jQuery

It seems that my math is not ...READ MORE

Jul 27, 2022 in Web Development by gaurav
• 23,260 points
766 views
0 votes
1 answer

How to stop PHP code execution?

You could try to kill the PHP ...READ MORE

Jul 24, 2022 in PHP by narikkadan
• 63,600 points

edited Mar 5 962 views
0 votes
0 answers

How to add jQuery to JSfiddle

The interface of JSfiddle has changed and i can't ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 23,260 points
1,137 views
0 votes
0 answers

netbeans problem : localhost/­PhpProject1/­index.­php not found

On Windows 7, I've set up Netbeans ...READ MORE

Jul 31, 2022 in PHP by Kithuzzz
• 38,000 points
677 views
0 votes
1 answer

Pure JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it

The simplest thing to do in the ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
3,226 views
0 votes
0 answers

How to customize <input type="file">?

Is it possible to change the appearance ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 3,820 points
867 views
0 votes
0 answers

How Can I create A 5 second Countdown timer with jquery that ends with a login popup?

How would i create a jquery timer ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
783 views
0 votes
1 answer

Adding new filter to an existing dashboard on Tableau

By clicking the down arrow on the ...READ MORE

Apr 5, 2022 in Tableau by Neha
• 9,020 points
5,806 views
0 votes
1 answer

Cast a JSON Object to a TypeScript class

I had the same issue and this ...READ MORE

May 31, 2022 in TypeSript by Nina
• 3,060 points
3,255 views