Trending questions in Edureka Community

0 votes
1 answer

Jquery find nearest matching element

The closest() method returns the first ancestor ...READ MORE

Jun 15, 2022 in JQuery by rajatha
• 7,680 points
3,403 views
0 votes
0 answers

What is the difference between private and protected members of C++ classes?

What distinguishes C++ classes' private and protected ...READ MORE

Aug 26, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 332 views
0 votes
0 answers

How to get time in Indian Time zone?

We are setting start Schedule time and ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
1,455 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
1,610 views
0 votes
0 answers

How to add CSS to my HTML code on Notepad++?

So I'm attempting to use notepad++ to ...READ MORE

Jul 28, 2022 in CSS by Edureka
• 13,740 points
1,585 views
0 votes
0 answers

css background-repeat x and y

Is it feasible to repeat x and ...READ MORE

Aug 5, 2022 in CSS by Edureka
• 13,740 points
1,127 views
0 votes
0 answers

jQuery show for 5 seconds then hide

I'm using .show to display a hidden ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 23,580 points
1,542 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
1,607 views
0 votes
0 answers

Is it more efficient to copy a vector by reserving and copying, or by creating and swapping?

I'm attempting to efficiently duplicate a vector. I see two potential strategies: std::vector<int> copyVecFast1(const std::vector<int>& original) { std::vector<int> newVec; ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 450 views
0 votes
0 answers

When should you use 'friend' in C++?

I like the concept of the << ...READ MORE

Aug 25, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 367 views
0 votes
0 answers

Removing leading zeroes from a field in a SQL statement

I'm dealing with a SQL question that ...READ MORE

Aug 12, 2022 in Database by Kithuzzz
• 38,000 points
885 views
0 votes
1 answer

What version of npm works with nodejs 0.10?

Here's the complete list (between v0.10.0 - ...READ MORE

Jun 9, 2022 in Node-js by Neha
• 9,020 points
3,647 views
0 votes
0 answers

How to execute mongodb commands from bash shell?

I searched and found that one can ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
3,124 views
0 votes
1 answer

Show/hide content with specific class using jquery

jQuery hide() Method The hide() method hides the ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
3,475 views
0 votes
0 answers

PHP Elvis operator vs null coalescing operator

Can someone clarify the differences between PHP's ...READ MORE

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

Using reactJS, php and mysql is possible?

I want to learn reactJS; is it ...READ MORE

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

How can I use jQuery in Greasemonkey?

I tried putting this line but it ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,580 points
1,574 views
0 votes
0 answers

PHP - CodeIgniter - Invalid argument supplied for foreach()

I'm attempting to use CodeIgniter to create ...READ MORE

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

Toggle show/hide on click with jQuery

jQuery toggle() Method The toggle() method toggles between ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
3,467 views
0 votes
0 answers

How can i sort a map by its .second parameter

How can I output all the int ...READ MORE

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

How can I create a "Please Wait, Loading..." animation using jQuery?

I would like to place a "please ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,580 points
920 views
0 votes
0 answers

Multiple file upload in php

I wish to upload several files, put ...READ MORE

Jul 30, 2022 in PHP by Kithuzzz
• 38,000 points
1,433 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
2,553 views
0 votes
0 answers

CSS background image that can scroll

I'm attempting to make a backdrop image ...READ MORE

Jul 5, 2022 in CSS by Edureka
• 13,740 points
2,552 views
0 votes
0 answers

Arrays of different types

Is it possible to have an array ...READ MORE

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

Multidimensional Arrays lengths in Java

How can I determine the lengths of ...READ MORE

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

How to load jQuery Migrate for jQuery via RequireJS?

Can I load jQuery migrate via RequireJS? ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,580 points
955 views
0 votes
0 answers

Confused with object arrays in C++

I originally studied Java, and I'm currently attempting to transition to C++.  I'm having some trouble getting arrays to function properly. Right now, all I'm attempting to do is build an array of the object "Player" and add one to it.  But I encounter a problem. Player* players = new Player[1]; players[0] = new ...READ MORE

Aug 25, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 341 views
0 votes
0 answers

In C++, what is the difference between a method and a function

I'm making an effort to use the ...READ MORE

Aug 24, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 375 views
0 votes
0 answers

jQuery to load random image from array using chickendinner.js returning 'undefined' in Chrome

I have the following jQuery script setup ...READ MORE

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

How to loop through array in jQuery?

Generic loop: var i; for (i = 0; i ...READ MORE

Jun 28, 2022 in Web Development by rajatha
• 7,680 points
2,912 views
0 votes
0 answers

Benefits of arrays

The benefits of a list over an ...READ MORE

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

What's the difference between TRUNCATE and DELETE in SQL

What distinguishes SQL's TRUNCATE and DELETE operations? Please ...READ MORE

Aug 11, 2022 in Database by Kithuzzz
• 38,000 points
961 views
0 votes
1 answer

Jquery Ajax /GET method nothing happend when success

this should help you debug the issue $('#rename').click(function ...READ MORE

Jun 21, 2022 in JQuery by rajatha
• 7,680 points
3,095 views
0 votes
1 answer

Vectorized IF statement in R?

x <- seq(0.1,10,0.1) > x [1] ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
3,118 views
0 votes
1 answer

How to fix "Headers already sent" error in PHP

The functions that send and modify the ...READ MORE

Feb 17, 2022 in Others by Aditya
• 7,680 points
8,452 views
0 votes
0 answers

Combine two arrays

I have two arrays structures like this array( ...READ MORE

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

How to delete file from public folder in laravel?

I just want to add @niroj answer  Use ...READ MORE

Nov 5, 2020 in Laravel by Helloworld
• 140 points
29,500 views
0 votes
1 answer

Get selected text from a drop-down list (select box) using jQuery

Select elements typically have two values that ...READ MORE

May 30, 2022 in Java by gaurav
• 23,580 points
4,114 views
0 votes
1 answer

What does |> (pipe greater than) mean in R?

The "pipe" operator in R is |>. ...READ MORE

Jun 14, 2022 in Data Science by Sohail
• 3,040 points
3,395 views
0 votes
1 answer

jQuery onclick toggle class name

jQuery toggleClass () method  The tokenClass () ...READ MORE

May 30, 2022 in JQuery by gaurav
• 23,580 points
4,109 views
0 votes
0 answers

Include PHP file into HTML file

I'm working on a project where the ...READ MORE

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

Matrix multiplication using arrays

Utilizing multidimensional arrays, I'm attempting to create ...READ MORE

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

JavaScript Split & jQuery .val() can I chain them?

Here's a very simple question... can I ...READ MORE

Aug 12, 2022 in Web Development by gaurav
• 23,580 points
884 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
1,658 views
0 votes
0 answers

Will choosing between YUI or jQuery effect the overal design of .js files?

Will choosing between jquery or YUI change ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 23,580 points
886 views
0 votes
0 answers

How to display image in css grid?

I am trying to make a css ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,740 points
1,959 views
+1 vote
3 answers

map() vs flatMap() in Spark

Spark map function expresses a one-to-one transformation. ...READ MORE

Jun 17, 2019 in Apache Spark by vishal
• 180 points
40,817 views
0 votes
1 answer

Refresh a page using JavaScript or HTML

window.location.reload(); in JavaScript <meta http-equiv="refresh" content="1"> in HTML ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
1,226 views
0 votes
0 answers

How to convert C++ Code to C

I've got some C++ programme. Numerous classes, ...READ MORE

Aug 23, 2022 in C++ by Nicholas
• 7,760 points

edited Mar 4, 2025 394 views