Trending questions in Web Development

0 votes
1 answer

How to read an external local JSON file in JavaScript?

Hello @kartik, For reading the external Local JSON ...READ MORE

Sep 3, 2020 in Java-Script by Niroj
• 82,680 points
138,713 views
+1 vote
4 answers

How to access images inside public folder in laravel?

If you are inside a blade template {{ ...READ MORE

Dec 14, 2020 in Laravel by Rajiv
• 8,910 points
81,973 views
0 votes
2 answers

How to delete or clear caching in Laravel?

You can call an Artisan command outside ...READ MORE

Dec 16, 2020 in Laravel by Rajiv
• 8,910 points
74,646 views
0 votes
3 answers

Explain the difference between visibility:hidden; and display:none?

display:none means that the tag in question will ...READ MORE

Dec 14, 2020 in Web Development by Gitika
• 65,850 points
70,925 views
+2 votes
2 answers

How to add a new column to existing table of laravel in a migration?

You need do little modification in your ...READ MORE

Dec 10, 2020 in Laravel by anonymous
• 82,680 points
69,443 views
0 votes
3 answers

How to load external scripts dynamically in Angular?

Hello kartik, You can use following technique to ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,680 points
55,710 views
0 votes
1 answer

Error: Failed to load resource: the server responded with a status of 404 (Not Found)

Your files are not under the JSP folder that's ...READ MORE

Dec 16, 2020 in Web Development by Gitika
• 65,850 points
49,384 views
0 votes
1 answer

How to find event listeners on a DOM node when debugging or from the JavaScript code?

Hii @kartik, It is possible to list all ...READ MORE

Jun 8, 2020 in Java-Script by Niroj
• 82,680 points
54,643 views
+1 vote
2 answers

How to convert entire div data into image and save it into directory without using canvas?

Hello @kartik, You can try the sample code ...READ MORE

Apr 29, 2020 in Java-Script by Niroj
• 82,680 points
44,106 views
0 votes
3 answers

HTML - Change\Update page contents without refreshing\reloading the page?

pushState() # The pushState() method let's you update the URL and create ...READ MORE

Dec 15, 2020 in HTML by Gitika
• 65,850 points
43,340 views
+1 vote
5 answers

How to get user's IP address in Laravel?

Hey, We can get the user's IP address ...READ MORE

Mar 20, 2020 in Laravel by Niroj
• 82,680 points
43,754 views
+6 votes
2 answers

Error:Uncaught ReferenceError: is not defined at HTMLAnchorElement.onclick

The most common reason behind the error ...READ MORE

Dec 14, 2020 in Laravel by Gitika
• 65,850 points
42,827 views
0 votes
2 answers

How to get full path of selected file on change of <input type=‘file’> using javascript, jquery-ajax?

For security reasons browsers do not allow ...READ MORE

Dec 16, 2020 in Java-Script by Rajiv
• 8,910 points
40,663 views
0 votes
1 answer

How to add a custom HTTP header to ajax request with javascript?

Hello @kartik, There is different way based on ...READ MORE

Aug 25, 2020 in Java-Script by Niroj
• 82,680 points
37,818 views
0 votes
2 answers
0 votes
1 answer

PHP undefined key and variable

Hi, @Dann, If you are using some variable ...READ MORE

Dec 30, 2020 in PHP by anonymous
• 65,850 points
28,604 views
0 votes
2 answers

Error:Laravel Installation failed, reverting ./composer.json to its original content.?

Hello, You need to install php zip extension. Something ...READ MORE

Mar 26, 2020 in Laravel by Niroj
• 82,680 points
31,350 views
0 votes
1 answer

Error: 'Unchecked runtime.lastError: The message port closed before a response was received' chrome issue?

Hii, I had same problem when responding on ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,680 points
36,146 views
0 votes
1 answer

How to return data from Axios API?

Hello @kartik, The issue is that the original axiosTest() function ...READ MORE

Oct 13, 2020 in Node-js by Niroj
• 82,680 points
25,817 views
0 votes
0 answers

What is &amp used for

Is there any difference in the behavior ...READ MORE

1 day ago in HTML by Kichu
• 15,810 points
1 view
0 votes
0 answers

JavaScript Array splice vs slice

What is the difference between splice and ...READ MORE

1 day ago in Java-Script by Kichu
• 15,810 points
1 view
0 votes
0 answers

How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

My node version is: node -v v0.6.1-pre Then I install ...READ MORE

3 days ago in Java-Script by Kichu
• 15,810 points
20 views
0 votes
0 answers

Fatal error: Maximum execution time of 30 seconds exceeded

I am getting this error when I ...READ MORE

2 days ago in PHP by Kichu
• 15,810 points
13 views
0 votes
0 answers

PHP - Failed to open stream : No such file or directory

In PHP scripts, when I call include(), require(), fopen(), or ...READ MORE

2 days ago in PHP by Kichu
• 15,810 points
12 views
0 votes
0 answers

JS file gets a net::ERR_ABORTED 404 (Not Found)

I am trying to separate my <script> inside my HTML ...READ MORE

2 days ago in Java-Script by Kichu
• 15,810 points
8 views
0 votes
0 answers

How to add a class to a given element?

I am trying to create a JavaScript ...READ MORE

3 days ago in Java-Script by Kichu
• 15,810 points
3 views
0 votes
0 answers

nodemon app crashed - waiting for file changes before starting

The node is crashing when I access ...READ MORE

5 days ago in Angular by Kichu
• 15,810 points
67 views
0 votes
0 answers

Object of class mysqli_result could not be converted to string

Code: $result = mysqli_query($con, "SELECT classtype FROM learn_users ...READ MORE

4 days ago in PHP by Kichu
• 15,810 points
10 views
0 votes
0 answers

How can I completely uninstall nodejs, npm and node in Ubuntu

I installed it using: sudo apt-get install ...READ MORE

4 days ago in Node-js by Kichu
• 15,810 points
5 views
0 votes
0 answers

upload image to my server directory and use the url

I want to upload an image to ...READ MORE

4 days ago in PHP by Kichu
• 15,810 points
6 views
0 votes
0 answers

mat-form-field must contain a MatFormFieldControl

I want to build a form-field-Components. I ...READ MORE

5 days ago in Angular by Kichu
• 15,810 points
25 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

6 days ago in Java-Script by Kichu
• 15,810 points
23 views
0 votes
0 answers

TypeError: Router.use() requires middleware function but got a Object

There were some changes made in the ...READ MORE

6 days ago in Java-Script by Kichu
• 15,810 points
31 views
0 votes
0 answers

Datatables: Cannot read property 'mData' of undefined

I am having trouble with data tables, ...READ MORE

6 days ago in JQuery by Kichu
• 15,810 points
14 views
0 votes
1 answer

How to see indexes for a database or table in MySQL?

Hello @kartik, To see the index for a ...READ MORE

Aug 18, 2020 in PHP by Niroj
• 82,680 points
27,273 views
0 votes
0 answers

"Cannot GET /" with Connect on Node.js

I am using connect to serve some ...READ MORE

6 days ago in Node-js by Kichu
• 15,810 points
8 views
0 votes
0 answers

How to fix 'Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.'

Whenever I load any page of my ...READ MORE

May 12 in Node-js by Kichu
• 15,810 points
13 views
0 votes
0 answers

Unable to preventDefault inside passive event listener

I am trying on some built-in events: ...READ MORE

May 12 in Node-js by Kichu
• 15,810 points
10 views
0 votes
0 answers

Warning: mysqli_query() expects at least 2 parameters, 1 given. What?

I have to build a PHP page ...READ MORE

May 12 in PHP by Kichu
• 15,810 points
11 views
0 votes
0 answers
0 votes
0 answers

Uncaught TypeError: Cannot read property 'top' of undefined

I have two different kinds of sticky ...READ MORE

May 11 in Java-Script by Kichu
• 15,810 points
15 views
0 votes
0 answers

How does Access-Control-Allow-Origin header work?

Until now my understanding of its semantics ...READ MORE

May 11 in Java-Script by Kichu
• 15,810 points
7 views
0 votes
0 answers

error: This is probably not a problem with npm. There is likely additional logging output above

I am trying to deploy my project ...READ MORE

May 10 in Node-js by Kichu
• 15,810 points
88 views
0 votes
0 answers

How to display image from database using PHP?

I want to display an image from ...READ MORE

May 11 in PHP by Kichu
• 15,810 points
9 views
0 votes
0 answers

Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>)

I was trying to change a string ...READ MORE

May 9 in Java-Script by Kichu
• 15,810 points
66 views
0 votes
0 answers

Sort array of objects by string property value

I have this array of JavaScript objects: var objs ...READ MORE

May 10 in Java-Script by Kichu
• 15,810 points
24 views
0 votes
0 answers

Bootstrap - Uncaught TypeError: Cannot read property 'fn' of undefined

I am using jquery, backbonejs, underscorejs, and ...READ MORE

May 10 in JQuery by Kichu
• 15,810 points
21 views
0 votes
0 answers

Node.js Error: Cannot find module express

I have written a code for my ...READ MORE

May 9 in Node-js by Kichu
• 15,810 points
53 views
0 votes
0 answers

How can I create a two dimensional array in JavaScript?

Is it possible to create a two-dimensional ...READ MORE

May 9 in Java-Script by Kichu
• 15,810 points
20 views
0 votes
0 answers

Generate pdf from HTML in div using Javascript

This is my HTML code: <!DOCTYPE html> <html> ...READ MORE

May 9 in Java-Script by Kichu
• 15,810 points
13 views