Trending questions in Edureka Community

0 votes
0 answers

Google Unicode Fonts not rendered properly in mpdf for PHP

I want to use Baloo2 Google Font ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 3,977 views
0 votes
1 answer

JavaScript/jQuery - "$ is not defined- $function()" error

You may experience the “jQuery is not ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
• 4,121 views
0 votes
0 answers

Is it possible to get a single element of a set in C++ STL?

I have the following C++ code with ...READ MORE

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

edited Mar 4, 2025 • 663 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
• 25,250 points
• 1,276 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
• 25,250 points
• 1,701 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,647 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
• 25,250 points
• 1,915 views
0 votes
0 answers

Accumulate function in Vector (STL) giving negative sum

I'm receiving a negative total when I run the code below (-294967296). #include<iostream> #include<vector> #include<numeric> using namespace std; int main() { ...READ MORE

Jul 22, 2022 in C++ by Nicholas
• 7,760 points
• 2,042 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
• 25,250 points
• 1,893 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
• 4,390 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,800 points
• 1,454 views
0 votes
0 answers

PHP Simple Search Form

Since I'm new to PHP, I'd like ...READ MORE

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

How to get Australia/Sydney timezone offset in javascript/nodejs?

It is very easy with Moment JS. ...READ MORE

Jun 16, 2022 in Node-js by anonymous
• 3,699 views
0 votes
0 answers

Can't get gettext (php) on Ubuntu working

The translated string is repeated back when ...READ MORE

Jul 28, 2022 in PHP by Kithuzzz
• 38,000 points
• 1,866 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
• 1,324 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,800 points

edited Mar 4, 2025 • 696 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
• 25,250 points
• 1,301 views
0 votes
0 answers

Upgrading PHP in XAMPP for Windows?

How do you upgrade PHP in Xampp ...READ MORE

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

Which is faster: Using bootstrap CDN or downloaded

CDNs deliver faster loading speeds for readers. Files ...READ MORE

Jun 30, 2022 in Web Development by rajatha
• 7,680 points
• 3,093 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,417 views
0 votes
0 answers

Parse error: Syntax error, unexpected end of file in my PHP code

I am getting this error: Parse error: syntax ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
• 3,899 views
0 votes
1 answer

Linking to a specific part of a web page

This is only possible if the website ...READ MORE

Aug 4, 2022 in HTML by Deepak
• 980 points
• 1,571 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
• 25,250 points
• 1,848 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,710 points
• 3,702 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
• 25,250 points
• 1,238 views
0 votes
1 answer

How do i apply lower_bound to a range of unsorted vector elements?

What's the point of sorting your array? ...READ MORE

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

jQuery: serialize() form and other parameters

Is it possible to send form elements (serialized with .serialize() method) ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
• 3,073 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,400 views
0 votes
0 answers

Where is array's length property defined?

As you know, to determine the length ...READ MORE

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

#defining constants in C++

In various C code, I see constants ...READ MORE

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

edited Mar 4, 2025 • 618 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
• 2,003 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,611 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,523 views
0 votes
0 answers

jQuery fade out then fade in

There's a bunch on this topic, but ...READ MORE

Jul 29, 2022 in Web Development by gaurav
• 25,250 points
• 1,826 views
0 votes
0 answers

TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array

I am working on a function that ...READ MORE

May 8, 2022 in Python by Kichu
• 19,040 points
• 5,295 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 • 735 views
0 votes
0 answers

Convert to date format dd/mm/yyyy

I have the following date: 2010-04-19 18:31:27. I ...READ MORE

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

How can I get the intersection, union, and subset of arrays in Ruby?

I want to develop many methods for ...READ MORE

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

Showing absolute and percentage values in Tableau

I recreated a data like yours, Follow these ...READ MORE

Apr 5, 2022 in Tableau by Neha
• 9,020 points
• 6,762 views
0 votes
0 answers

Why can we not access elements of a tuple by index?

tuple <int, string, int> x=make_tuple(1, "anukul", 100); cout ...READ MORE

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

edited Mar 4, 2025 • 727 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
• 25,250 points
• 1,812 views
0 votes
0 answers

Using jquery-store-locator-plugin (v2) with Multiple Forms

I'm trying to get version 2 of ...READ MORE

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

How to initialize a list of strings (List<string>) with many string values

Simply remove the () at the end. List<string> ...READ MORE

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

PHP: implode() Invalid arguments passed

I am using Codeigniter and its validation ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
• 3,710 views
0 votes
0 answers

How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?

I have a development environment based on ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
• 3,598 views
0 votes
0 answers

jQuery drag event doesn't seem to have deltaX property

I am trying to create my own ...READ MORE

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

Accessing nested JavaScript objects and arrays by string path

This is my data structure var someObject = ...READ MORE

Aug 8, 2022 in Others by krishna
• 2,820 points
• 1,369 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
• 4,448 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
• 25,250 points
• 1,197 views