Trending questions in Edureka Community

0 votes
0 answers

How to obtain data from random wikipedia page with jquery

$(".wikiResult h3").load("https://en.wikipedia.org/wiki/Special:Random #firstHeading i"); I would like to ...READ MORE

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

Making a div vertically scrollable using CSS

This <div id="" style="overflow:scroll; height:400px;"> provides a div that ...READ MORE

Aug 25, 2022 in CSS by Edureka
• 13,750 points

edited Mar 4 319 views
0 votes
1 answer

How to get the "Name Box" name of an Excel cell?

By typing in the Name Box, you ...READ MORE

Mar 15, 2022 in Database by gaurav
• 23,580 points
7,403 views
0 votes
0 answers

Simplest code for array intersection in javascript

Tell me the simplest way to implement ...READ MORE

Aug 12, 2022 in Others by krishna
• 2,820 points
880 views
0 votes
0 answers

Rules for C++ string literals escape character

What are the string literals' escape character rules?  Are all the characters that are escaped listed somewhere? In particular, gedit colours the following three values differently when I use the symbol in a string literal. I was attempting to generate a std::string from a literal consisting of the character 0, the null character (0), and the character 0.  However, the syntax highlighting warned me that this would result in just two characters, such as the letter 0 followed by the null character (\00, aka \0). Is the following the best course of action for the solution to just this one issue: std::string ("0\0" "0", 3) // ...READ MORE

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

edited Mar 4 310 views
0 votes
0 answers

C++ Switch Cases

I was taking an online quiz based on the C++ switch statement.  I came across a question, and while I have a good knowledge of how switch statements function, this particular question made no sense to me.  Could you please explain? Why is the answer D and not ...READ MORE

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

How to find array / dictionary value using key?

I want to use the key to ...READ MORE

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

Getting the source of this click event in JQuery

I have multiple dynamically created buttons with ...READ MORE

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

PHP - Get key name of array value

I have an array of the following: function ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 86,360 points
1,796 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 261 views
0 votes
1 answer

Reverse Contents in Array

My strategy would be as follows: #include <algorithm> #include <iterator> int main() { const int ...READ MORE

Aug 5, 2022 in C++ by Damon
• 4,960 points
1,169 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 303 views
0 votes
0 answers

Alternative to itoa() for converting integer to string C++?

If I use itoa() to convert an ...READ MORE

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

edited Mar 4 386 views
0 votes
0 answers

Clear an image preview file that was removed from the array with jquery

I tried to figure this out for ...READ MORE

Aug 2, 2022 in Web Development by gaurav
• 23,580 points
1,300 views
0 votes
0 answers

Difference between Arrays.asList(array) and new ArrayList<Integer>(Arrays.asList(array))

What's the difference in these two ways? List<Integer> ...READ MORE

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

Cookies vs. sessions

A few months ago, I first used ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
1,012 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 377 views
0 votes
0 answers

Editing data from MySQL via PHP

A PHP script that is supposed to ...READ MORE

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

Generating username from first name and last name in excel

How to automatically merge first and last ...READ MORE

Mar 30, 2022 in Database by gaurav
• 23,580 points
6,689 views
0 votes
0 answers

Alternative function in iostream.h for getch() of conio.h?

I'm attempting to hold the screen on ...READ MORE

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

edited Mar 4 371 views
0 votes
0 answers

Reading an Excel file in PHP

I'm attempting to read an Excel document ...READ MORE

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

How to take user input like prompt() but in PHP?

How can I create a javascript equivalent ...READ MORE

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

Laravel PHP Command Not Found

I successfully installed Laravel using Composer, but ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 86,360 points
1,717 views
0 votes
0 answers

php records navigation

Code: <?php $host='localhost'; $user='root'; $password='root'; $database='database'; $startindex=@$_REQUEST['seek']; $db=mysql_connect($host, ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,000 points
981 views
0 votes
0 answers

Wrong height in iPhone simulator when webview resize using jQuery Mobile and Cordova

I tried to add AdMob into Cordova ...READ MORE

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

Socket Programming in C++

The C++ Standard does not have a ...READ MORE

Aug 2, 2022 in C++ by Damon
• 4,960 points
1,234 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 278 views
0 votes
1 answer

How to set jQuery draggable min/max-left and min/max-right

How to set jQuery draggable min/max-left and ...READ MORE

Jul 25, 2022 in Web Development by rajatha
• 7,680 points
1,662 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,011 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 313 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,750 points
1,488 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,447 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,750 points
1,031 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,099 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,216 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,484 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,720 points
3,535 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
3,572 views
0 votes
0 answers

What is the difference between cout, cerr, clog of iostream header in c++? When to use which one?

I looked up the differences between cout, ...READ MORE

Jul 27, 2022 in C++ by Nicholas
• 7,760 points
1,372 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,001 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
783 views
0 votes
1 answer

jquery function setInterval

This is because you are executing the ...READ MORE

Jun 20, 2022 in JQuery by rajatha
• 7,680 points
3,066 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
865 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,750 points
2,452 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
871 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
976 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,539 views
0 votes
0 answers

How to redirect a page using onclick event in php?

I tried this, but it didn't work: <input ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
3,080 views
0 votes
0 answers

CSS opacity - background colour

I want to set the opacity of ...READ MORE

Aug 25, 2022 in CSS by Edureka
• 13,750 points

edited Mar 4 245 views