Trending questions in Edureka Community

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
2,015 views
0 votes
0 answers

How to create sticky header bar for a website?

For a website, I want to make ...READ MORE

Aug 12, 2022 in CSS by Edureka
• 13,800 points
1,339 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
2,011 views
0 votes
0 answers

Nested try...catch inside C++ exception handler?

I may wish to run code that might throw an exception in my exception handler. Is the following C++ structure acceptable?  Are there any drawbacks if so? try { // ... } catch (const ...READ MORE

Aug 5, 2022 in C++ by Nicholas
• 7,760 points
1,483 views
0 votes
0 answers

Deleting an element from an array in PHP

Is there a method to delete an ...READ MORE

Aug 12, 2022 in Others by krishna
• 2,820 points
1,335 views
0 votes
1 answer

jQuery onclick toggle class name

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

May 30, 2022 in JQuery by gaurav
• 25,250 points
4,555 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
7,006 views
0 votes
0 answers

How can I get form data with JavaScript/jQuery?

Is there a simple, one-line way to ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
3,234 views
0 votes
0 answers

ipad web application: How do I prevent the keyboard from popping up on jquery datepicker

I have a form with an date ...READ MORE

Aug 12, 2022 in Web Development by gaurav
• 25,250 points
1,331 views
0 votes
0 answers

How to delete my account?

I had created this account by accident. ...READ MORE

Aug 24, 2022 in Ask us Anything! by Omkar

edited Mar 4, 2025 792 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
• 25,250 points
2,149 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
1,458 views
0 votes
0 answers

Making HTML page zoom by default

I created a page with buttons that ...READ MORE

Jul 11, 2022 in CSS by Edureka
• 13,800 points
2,709 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,842 views
0 votes
0 answers

Adding more than one class html

Is it possible to add more than ...READ MORE

Aug 19, 2022 in HTML by Shalini
• 120 points
1,021 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
2,055 views
0 votes
0 answers

jquery ajax call "metho" instead of "method"?

I have a script.js that uses jQuery's ...READ MORE

Aug 18, 2022 in Web Development by gaurav
• 25,250 points
1,061 views
0 votes
1 answer

How to validate array in Laravel?

Hello @kartik, you can call validate() method directly ...READ MORE

Aug 10, 2020 in Laravel by Niroj
• 82,800 points
32,915 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,866 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
• 25,250 points
1,959 views
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
• 25,250 points
1,359 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
3,554 views
0 votes
0 answers

jQuery - why does delegate propagate, even after `e.preventDefault` is called?

I have a div with a nested ...READ MORE

Aug 10, 2022 in Web Development by gaurav
• 25,250 points
1,335 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,695 views
0 votes
0 answers

Table scroll with HTML and CSS

I have a table like that which ...READ MORE

Aug 10, 2022 in HTML by Deepak
• 980 points
1,311 views
0 votes
0 answers

c++ custom compare function for std::sort()

I want to create custom compare function ...READ MORE

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

edited Mar 4, 2025 821 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
2,231 views
0 votes
0 answers

MS EXCEL: Convert (Height) Decimal Feet & Inches to Inches Only

Using MS Excel (2010), I would like ...READ MORE

Feb 10, 2022 in Others by Edureka
• 13,690 points
1,630 views
0 votes
0 answers

What are some cool JQuery/CSS3 effects like Google's "Barrel Roll"

For those of you who do not ...READ MORE

Aug 12, 2022 in Web Development by gaurav
• 25,250 points
1,296 views
0 votes
1 answer

What does "this" mean in jQuery?

this is a reference to the member that ...READ MORE

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

how to convert a decimal number to fraction using jquery

I want to convert the decimal number ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 25,250 points
1,944 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,723 views
0 votes
1 answer

what is diffrence between NROW and nrow in r?

5 In R, you may always check ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
3,384 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,485 views
0 votes
1 answer

"Cannot send session cache limiter - headers already sent"

The line "Headers already sent" means that ...READ MORE

Feb 18, 2022 in Others by Aditya
• 7,680 points
8,800 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
2,104 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,435 views
0 votes
0 answers

The advantages of blackout curtain fabric

When choosing curtain fabrics, we often find ...READ MORE

Aug 18, 2022 in Career Counselling by qiansifang

edited Mar 4, 2025 1,023 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,730 points
3,598 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,526 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
1,799 views
0 votes
0 answers

How to get mobile number from facebook login using jquery?

I am trying to work facebook login ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 25,250 points
2,310 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
3,291 views
0 votes
0 answers

Laravel 5.3 - TokenMismatchException in VerifyCsrfToken.php line 68:

How can I fix the title-related issue ...READ MORE

Jul 28, 2022 in Laravel by Kithuzzz
• 38,000 points
1,944 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
4,365 views
0 votes
0 answers

SQL Injection Exploiting Login form

I was pondering while at the same ...READ MORE

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

PDF hide Jquery Modal in IE

I am displaying a PDF in an <iframe> using ...READ MORE

Aug 11, 2022 in Web Development by gaurav
• 25,250 points
1,321 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,702 views
0 votes
0 answers

What are the differences between numpy arrays and matrices? Which one should I use?

What are each's advantages and drawbacks? I've noticed ...READ MORE

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

chmod: unable to change file mode on install.sh. operation not permitted

Hi Everybody, I'm trying to install McAfee agent ...READ MORE

Aug 24, 2022 in Linux Administration by madzr

edited Mar 4, 2025 749 views