Trending questions in Edureka Community

0 votes
0 answers

jQuery tabs callback after "show" animation

I have a link to a jQuery ...READ MORE

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

How to show shadow over scroll view items in react native

Because of the limitations of react-native on ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,690 points
2,942 views
0 votes
1 answer

How to cast jQuery $.ajax calls to Bluebird promises without the deferred anit-pattern

jQuery have promises implemented with their AJAX ...READ MORE

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

Sorting arrays in NumPy by column

How can I sort a numpy array ...READ MORE

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

jQuery Slide toggle and fade in issue

As you can see when clicking on ...READ MORE

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

Expand collapse text with html

I want to make a text bigger ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
967 views
0 votes
1 answer

Is there an "exists" function for jQuery?

Yes! The $. fn. exists example is replacing ...READ MORE

Aug 4, 2022 in Web Development by rajatha
• 7,680 points
563 views
0 votes
0 answers

What does it mean that Java arrays are homogeneous, but ArrayLists are not?

If I got a Type[] array, I ...READ MORE

Aug 1, 2022 in Java by krishna
• 2,820 points
697 views
0 votes
0 answers

C++ - upcasting and downcasting

As an example: Shouldn't the second d.print() call during upcasting print "base"? Isn't it a "d" derived object that has been upcasted to a base class object? And what advantages does downcasting have? Could you describe upcast and downcast in more detail? #include <iostream> using namespace std; class Base { public: ...READ MORE

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

Switch php versions on commandline ubuntu 16.04

On my Ubuntu 16.04, I've installed PHP ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
802 views
0 votes
0 answers

How to show message in model body if bootstrap model have no data in jquery

I'm trying to display a text message ...READ MORE

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

HTML page on load should open a default phone dial screen with phone number

I have example.com/phonecall as a URL. When a ...READ MORE

Aug 1, 2022 in HTML by Ashwini
• 5,430 points
698 views
0 votes
0 answers

Video is not supported in html5

I have the latest FF and I ...READ MORE

Aug 3, 2022 in HTML by Ashwini
• 5,430 points
608 views
0 votes
1 answer

jQuery .html() vs .append()

You have the :hover pseudo on your CSS. While ...READ MORE

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

How can I use CSS to style multiple images differently?

You can do that in HTML (delete ...READ MORE

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

Best XML Parser for PHP

I've used the XML Parser before, and ...READ MORE

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

How to export PHP/MYSQL data to PDF?

When I develop a student information form ...READ MORE

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

TypeError: Converting circular structure to JSON in nodejs

Code : var formData = ({first_name:firstname,last_name:lastname,user_name:username, email:email,password:password}); ...READ MORE

May 13, 2022 in Java-Script by Kichu
• 19,040 points
4,076 views
0 votes
0 answers

How do I add a border to an image in HTML?

How do I use HTML to add ...READ MORE

Aug 16, 2022 in HTML by Deepak
• 980 points

edited Mar 4 24 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
594 views
0 votes
0 answers

Create a folder if it doesn't already exist

In a few instances, when installing WordPress ...READ MORE

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

Pound key/Hash key/hashtag in php arrays

I am working in some technology stacks ...READ MORE

Aug 1, 2022 in Others by krishna
• 2,820 points
676 views
0 votes
0 answers

Simple Registration page info is not added to database using localhost

When I use localhost, after completing my ...READ MORE

Jul 24, 2022 in Web Development by Kithuzzz
• 38,000 points
980 views
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
810 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
587 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,438 views
0 votes
0 answers

how to use for loop inside HTML template?

I utilize a marionette view with an ...READ MORE

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

Remove Image background with php and save transparent png

I am working on functionality that removes ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
3,437 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
488 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
565 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
611 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,620 points
1,259 views
0 votes
1 answer

Setting the value of REM for all the properties in CSS

We've covered this in comments, but essentially ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,690 points
2,227 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
956 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
850 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,649 views
0 votes
1 answer

How to read local csv file in JavaScript/TypeScript?

Here is how to use the readAsBinaryString() from the FileReader API ...READ MORE

Jun 9, 2022 in TypeSript by Nina
• 3,060 points
2,913 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
818 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,149 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,620 points
767 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
795 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,203 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,089 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
830 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
771 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,690 points
2,615 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
687 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,788 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
719 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,043 views