Trending questions in Web Development

0 votes
0 answers

Remove a cookie

I try to erase cookies whenever I ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 86,360 points
• 1,681 views
0 votes
1 answer

Listening for Youtube Event in JavaScript or jQuery

I'm trying to get the onStateChange event ...READ MORE

May 30, 2022 in JQuery by gaurav
• 25,250 points
• 4,013 views
0 votes
0 answers

Retrieve data from db and display it in table in php .. see this code whats wrong with it?

$db = mysql_connect("localhost", "root", ""); ...READ MORE

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

HTML5 Video Autoplay not working correctly

I want the video to automatically play, ...READ MORE

Jul 12, 2022 in HTML by Ashwini
• 5,440 points
• 2,124 views
0 votes
0 answers

How do I format time in php

I have a time returned by PHP ...READ MORE

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

How to make a vertical line in HTML

How do you make a vertical line ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,790 points
• 1,381 views
0 votes
0 answers

Wait until all jQuery Ajax requests are done?

How do I make a function wait ...READ MORE

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

Progress Bar with HTML and CSS

I want to make a progress bar ...READ MORE

Jul 28, 2022 in CSS by Edureka
• 13,790 points
• 1,425 views
0 votes
1 answer

How to trigger a click on a link using jQuery

Use the jQuery click() Method You can use ...READ MORE

Jun 10, 2022 in JQuery by rajatha
• 7,680 points
• 3,451 views
0 votes
0 answers

PHP's preg_match() and preg_match_all() functions

What do the preg_match() and preg_match_all() functions do and how can ...READ MORE

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

The basics of php routing

I'm seeking for a how-to guide or ...READ MORE

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

Event handling with jQuery, AMD and require.js

I am very new to AMD and ...READ MORE

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

Why doesn't my div inside a span work properly?

I'm writing the following HTML markup: <span> Some Text ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points
• 1,370 views
0 votes
0 answers

How do you center a video using CSS?

I want to center a video on ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points
• 1,539 views
+1 vote
1 answer

ERROR: Cannot add or update a child row: a foreign key constraint fails

Hello @kartik, You are getting this constraint check ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
• 31,868 views
0 votes
1 answer

How to create a simple map using JavaScript/JQuery

var map = new Object(); // or ...READ MORE

Jun 27, 2022 in Web Development by rajatha
• 7,680 points
• 2,789 views
0 votes
0 answers

How can I change the line spacing for one paragraph in an HTML email template?

I want to add html commands that ...READ MORE

Jul 24, 2022 in HTML by Ashwini
• 5,440 points
• 1,576 views
0 votes
0 answers

css ellipsis on second line

CSS text-overflow: ellipsis on the second line, is this ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points
• 1,531 views
0 votes
0 answers

How to add the text "ON" and "OFF" to toggle button?

I wanted to add text to my ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 753 views
0 votes
0 answers

PHP - Generating tokens for transactions

What would be a safe and suitable ...READ MORE

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

jQuery + JSON how to define key from variable

I have the following code $.post( ...READ MORE

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

Passing variable from JS to PHP within the same page

I know that PHP is a server-side ...READ MORE

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

Check if checkbox is checked with jQuery

To check whether a Checkbox has been ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
• 2,872 views
0 votes
1 answer

How to convert a web page(html,css,js) into android app?

I used Phonegap a lot for this, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,797 views
0 votes
0 answers

Finding closest element without jQuery

I am trying to find the closest ...READ MORE

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

return null with query string whtn i use ajax-jquery

this is my jquery code: <script type="text/javascript"> ...READ MORE

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

Remove the last character from a string

What is the fastest way to remove ...READ MORE

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

phpmailer error "Could not instantiate mail function"

I'm getting the error "Mailer Error: Could ...READ MORE

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

How can I prevent SQL injection in PHP?

The programme  becomes vulnerable to SQL injection ...READ MORE

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

Code PDF friendly HTML page from a Word Document

I have a word document file that ...READ MORE

Aug 1, 2022 in HTML by Ashwini
• 5,440 points
• 1,217 views
0 votes
0 answers

jquery css zoom icon to images with opacity

I like to read articles and for ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 25,250 points
• 1,600 views
0 votes
1 answer

Center image in table td in CSS

Wrap a picture in a container div ...READ MORE

Jun 13, 2022 in CSS by Edureka
• 12,710 points
• 3,286 views
0 votes
0 answers

Jquery array.push() not working

I have been trying to add variables ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 25,250 points
• 2,554 views
0 votes
1 answer

How to clean node_modules folder of packages that are not in package.json?

Hello @kartik, You could remove your node_modules/ folder ...READ MORE

Jul 13, 2020 in Node-js by Niroj
• 82,800 points
• 33,509 views
0 votes
1 answer

How do I manage MongoDB connections in a Node.js web application?

When the Node.js application starts, create a ...READ MORE

Jun 10, 2022 in Node-js by Neha
• 9,020 points
• 3,409 views
0 votes
0 answers

jquery: unbind mouseenter and leave won't work

i have a tabbed view and when ...READ MORE

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

How to make a back-to-top button using CSS and HTML only?

I'm attempting to create a back-to-top button ...READ MORE

Aug 1, 2022 in HTML by Ashwini
• 5,440 points
• 1,208 views
0 votes
0 answers
0 votes
0 answers

What's the maximum value for an int in PHP?

Ignoring the special libraries that allow you ...READ MORE

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

Add something after the "n" element using jQuery

For a markup like <div id="holder"> ...READ MORE

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

jQuery .html() vs .append()

Let us say we have an empty div: <div ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 712 views
0 votes
0 answers

How to extract img src, title and alt from html using php?

I want to make a page listing ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,440 points
• 1,667 views
0 votes
0 answers

Purpose of evt in jQuery event function

What is the purpose of using the ...READ MORE

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

jquery - xeditable select source using function, using deffered and local storage (indexedDB)

I am working on a web app ...READ MORE

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

PHP 5 disable strict standards error

I need to setup my PHP script ...READ MORE

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

highlighting the current page in a list of links using css / html

I am trying to amend a friend's ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points
• 1,483 views
0 votes
0 answers

What is the difference between SVG and HTML5 Canvas?

What is the distinction between SVG and ...READ MORE

Aug 12, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 702 views
0 votes
0 answers

How to use $_FILES["file"]["size"]?

How can I see if the file ...READ MORE

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

How do I create a 3x3 grid via CSS?

I want to use CSS to make ...READ MORE

Aug 11, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 • 741 views
0 votes
0 answers

HTML - Alert Box when loading page?

I want to display an alert message ...READ MORE

Jul 19, 2022 in HTML by Tejashwini
• 5,380 points
• 1,735 views