Trending questions in Web Development

0 votes
1 answer

Error: Failed to load resource: net::ERR_CACHE_MISS

Hello @kartik, It is actually a permission issue. ...READ MORE

Jun 16, 2020 in PHP by Niroj
• 82,840 points
1,832 views
0 votes
1 answer

Node.js version on the command line?

Hello @kartik, The command line for that is: node ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,840 points
636 views
0 votes
1 answer

How to make Bootstrap popover Appear/Disappear on hover instead of click?

Hello @kartik, Set the trigger option of the popover to hover instead ...READ MORE

May 12, 2020 in JQuery by Niroj
• 82,840 points
3,313 views
0 votes
1 answer

How do I update Node.js?

Hello @kartik, First update npm, npm install -g npm stable Then ...READ MORE

Jul 8, 2020 in Node-js by Niroj
• 82,840 points
726 views
0 votes
1 answer

How can I create XAMPP/Apache serve file outside of htdocs?

Hello @kartik, You can relocate it by editing ...READ MORE

May 19, 2020 in PHP by Niroj
• 82,840 points
2,887 views
+1 vote
9 answers

What is the difference between web design and web development?

A designer designs the web pages and ...READ MORE

Jan 22, 2020 in Web Development by Niroj
• 82,840 points
2,147 views
0 votes
1 answer

How can I get the user's local time instead of the server's time?

Hello @kartik, For client side, you would need ...READ MORE

Jul 7, 2020 in Java-Script by Niroj
• 82,840 points
675 views
0 votes
1 answer

How to call jQuery UI Dialog with ASP.NET button postback?

Hello @kartik, To solve the problem with ASP:Button ...READ MORE

Apr 28, 2020 in Java-Script by Niroj
• 82,840 points
3,634 views
0 votes
1 answer

How to attach callback to jquery effect on dialog show?

Hello, Try out the code using jQuery Promise object: $("#dialog").dialog({ ...READ MORE

May 30, 2020 in JQuery by Niroj
• 82,840 points
2,248 views
0 votes
1 answer

How do I pass command line arguments to a Node.js program?

Hello @kartik, If your script is called myScript.js ...READ MORE

May 5, 2020 in Java-Script by Niroj
• 82,840 points
3,242 views
0 votes
1 answer

Error:Unable to access React instance (this) inside event handler

Hello @kartik, You can use an arrow function together with ...READ MORE

Jun 4, 2020 in Angular by Niroj
• 82,840 points
1,943 views
0 votes
1 answer

Where to register Facades & Service Providers in Lumen?

Hello, To register a facade with an alias, ...READ MORE

Apr 6, 2020 in Laravel by Niroj
• 82,840 points
4,476 views
0 votes
1 answer

Error: Use of const in strict mode

Hello, If this is happening in nodejs, it ...READ MORE

Apr 24, 2020 in Java-Script by Niroj
• 82,840 points
3,674 views
0 votes
1 answer

Explain make Method in Laravel and what does the make() method do in Laravel?

Hey, You may use the make method to ...READ MORE

Mar 19, 2020 in Laravel by Niroj
• 82,840 points
5,212 views
0 votes
1 answer

How to use Stored Procedures in Laravel?

Hey, To create a Stored Procedure you can ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,840 points
4,982 views
0 votes
1 answer

How to pass URL param in Laravel?

Hello, First you have to go to routes ...READ MORE

Mar 18, 2020 in Laravel by Niroj
• 82,840 points
5,189 views
0 votes
1 answer

JQuery Error: cannot call methods on dialog prior to initialization; attempted to call method 'close'

Hello @kartik, Try this - it works for ...READ MORE

May 29, 2020 in JQuery by Niroj
• 82,840 points
2,017 views
0 votes
1 answer

How to set up authentication for reactjs and django ?

Hello  yahya , Using both, you can secure ...READ MORE

Jun 2, 2020 in Web Development by Niroj
• 82,840 points
1,831 views
0 votes
1 answer

How do I remove a property from a JavaScript object?

Objects in JavaScript can be thought of ...READ MORE

Jun 8, 2020 in Java-Script by Niroj
• 82,840 points
1,461 views
0 votes
1 answer

How do I get PHP errors to display?

Hello @kartik, To display all errors you need ...READ MORE

Jun 20, 2020 in Java-Script by Niroj
• 82,840 points
966 views
+1 vote
1 answer

How to Check synchronously if file/directory exists in Node.js?

Hello, You can use fs.existsSync(): const fs = require("fs"); // ...READ MORE

May 28, 2020 in Java-Script by Niroj
• 82,840 points
1,877 views
0 votes
1 answer

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in .?

Hello @kartik, You may get this error because ...READ MORE

May 19, 2020 in PHP by Niroj
• 82,840 points
2,280 views
0 votes
1 answer

How do you access the matched groups in a JavaScript regular expression?

Hello, Here’s a method you can use to ...READ MORE

May 28, 2020 in Java-Script by Niroj
• 82,840 points
1,875 views
0 votes
1 answer

SQL injection that gets around mysql_real_escape_string()?

Hello @kartik, Consider the following query: $iId = mysql_real_escape_string("1 ...READ MORE

Apr 9, 2020 in PHP by Niroj
• 82,840 points
4,016 views
0 votes
1 answer

How do I return the response from an asynchronous call?

Hello @kartik, You are using Ajax incorrectly. The ...READ MORE

Jun 17, 2020 in Java-Script by Niroj
• 82,840 points
989 views
0 votes
1 answer

How to convert form data to JavaScript object with jQuery?

Hello @kartik, You can use: function form_to_json (selector) { ...READ MORE

Apr 28, 2020 in JQuery by Niroj
• 82,840 points
3,112 views
0 votes
1 answer

Error:Callback of .animate() gets called twice jquery

Hiii @kartik, To get a single callback for ...READ MORE

Jun 2, 2020 in Java-Script by Niroj
• 82,840 points
1,582 views
0 votes
1 answer

How to do API call in react js?

Hello, Use fetch method inside componentDidMount to update state: componentDidMount(){ fetch('https://dey.me/api/') ...READ MORE

May 18, 2020 in Java-Script by Niroj
• 82,840 points
2,183 views
0 votes
0 answers

@edureka! in my nodejs as its i have used it and pug also but my css doesn't worked as while running localhost it doesn't show styling of css

<!DOCTYPE html><html></html><head><style></style>@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); *{ margin: 0; box-sizing: border-box; padding: 0; } #navbar{ background-color:black; padding: 18px ...READ MORE

Jun 11, 2020 in Web Development by anonymous
• 120 points
1,147 views
0 votes
1 answer

How do I select an element with its name attribute in jQuery?

Hello @kartik, You can use: jQuery('[name="' + nameAttributeValue + ...READ MORE

Jun 11, 2020 in Java-Script by Niroj
• 82,840 points
1,059 views
+1 vote
1 answer

How to implement up and down voting of a particular thread?

Hello @kartik, Yes, JavaScript is involved. There are ...READ MORE

Jun 3, 2020 in Java-Script by Niroj
• 82,840 points
1,360 views
0 votes
1 answer

How do I cancel an HTTP fetch() request?

Hello @kartik, If you have an in-flight response ...READ MORE

Jun 18, 2020 in Java-Script by Niroj
• 82,840 points
748 views
0 votes
1 answer

How to convert an image to base64 encoding?

Hello @kartik, You can also do this via ...READ MORE

Apr 1, 2020 in PHP by Niroj
• 82,840 points
4,046 views
0 votes
1 answer

Error:Uncaught TypeError: Cannot read property 'setState' of undefined

Hello @kartik, This is due to this.delta not being bound ...READ MORE

Jun 4, 2020 in Angular by Niroj
• 82,840 points
1,258 views
0 votes
1 answer

Why it is necessary to refresh CSRF token per form request?

Hello, Generating a new CSRF token for each ...READ MORE

Mar 19, 2020 in Laravel by Niroj
• 82,840 points
4,559 views
0 votes
1 answer

How to customize the auth.User Admin page in Django CRUD?

Hello @kartik, Try this in admin.py file : from ...READ MORE

Jun 12, 2020 in Java-Script by Niroj
• 82,840 points
866 views
0 votes
1 answer

How to get xdebug var_dump to show full object/array?

Hello. These are configurable variables in php.ini: ; with ...READ MORE

Apr 7, 2020 in PHP by Niroj
• 82,840 points
3,689 views
0 votes
1 answer

How to list the properties of a JavaScript object?

Hii @kartik, Use Reflect.ownKeys(): var obj = {a: 1, b: ...READ MORE

Jun 8, 2020 in Java-Script by Niroj
• 82,840 points
1,015 views
0 votes
1 answer

How do I check if an element is hidden in jQuery?

Hello @kartik,  You can use CSS: class .hide { ...READ MORE

Jun 8, 2020 in Java-Script by Niroj
• 82,840 points
979 views
0 votes
1 answer

Error:$(document).ready equivalent without jQuery

Hello @kartik, Extends DOMContentLoaded so that it can ...READ MORE

Jun 8, 2020 in Java-Script by Niroj
• 82,840 points
965 views
0 votes
1 answer

How to cache fetched data in react without redux?

Hello @kartik, The best way to save data ...READ MORE

Jun 1, 2020 in PHP by Niroj
• 82,840 points
1,244 views
0 votes
1 answer

.How to turn off CSRF protection for a particular route in Laravel?

Hey, We can add that particular URL or ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,840 points
4,213 views
0 votes
1 answer

From php returning JSON to JavaScript

Hii @kartik, You can use Simple JSON for PHP. ...READ MORE

Jun 5, 2020 in Java-Script by Niroj
• 82,840 points
1,017 views
0 votes
1 answer

How to print a circular structure in a JSON-like format?

Hello, You can use util.inspect(object) in node.js. It automatically ...READ MORE

Apr 24, 2020 in Java-Script by Niroj
• 82,840 points
2,765 views
0 votes
1 answer

How to prevent multiple selection in jQuery UI Selectable plugin?

Hii @kartik, What I did is that I allow multiple ...READ MORE

May 30, 2020 in JQuery by Niroj
• 82,840 points
1,231 views
0 votes
1 answer

How to get a list of registered route paths in Laravel?

Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,840 points
3,781 views
0 votes
1 answer

How to make a constant and use globally in laravel?

Hii, You can create a constants.php page in config folder ...READ MORE

Mar 24, 2020 in Laravel by Niroj
• 82,840 points
4,063 views
0 votes
1 answer

Error:“Access is denied” error on accessing iframe document object

Hello @kartik, Basically, this error occurs when the ...READ MORE

Apr 27, 2020 in Java-Script by Niroj
• 82,840 points
2,543 views
0 votes
1 answer

is there any way to download truffle? how to solve this error

Hello @ aishah , It seems likely that this is ...READ MORE

May 25, 2020 in Web Development by Niroj
• 82,840 points
1,364 views
0 votes
1 answer

How to install a specific version of package using Composer?

Hello, Just use php composer.phar require For example : php ...READ MORE

Apr 1, 2020 in PHP by Niroj
• 82,840 points
3,627 views