Trending questions in Web Development

0 votes
1 answer

How to detect current element id in jQuery?

Use the jQuery attr() Method You can simply ...READ MORE

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

NotFoundHttpException in RouteCollection.php line 161: in laravel 5

My CollectionController looks like this . <?php namespace App\Http\Controllers; use ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 86,360 points
• 2,321 views
0 votes
0 answers

What is the difference between HTML div and span elements?

Please provide some straightforward examples of how ...READ MORE

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

$ is not a function - jQuery error

The typeerror: $ is not a function ...READ MORE

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

How to do something like border-top-left-color. [CSS]

Only border-left-color, border-right-color, border-top-color, and border-bottom-color are ...READ MORE

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

How to create a vertical line in HTML?

I need to create a vertical line ...READ MORE

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

PHP - exit or return which is better?

Case I: <?php if ( $fileSize > 100 ) { ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 86,360 points
• 2,344 views
0 votes
0 answers

Loading image using CSS animation VS loading using GIF image

I ran the following tests to see ...READ MORE

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

PHP Composer update "cannot allocate memory" error (using Laravel 4)

I'm on Linode 1G RAM basic plan. ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
• 2,204 views
0 votes
0 answers

jQuery UI: connect sortable lists through tabs

Here is an example at jQuery UI official site, ...READ MORE

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

window.onload vs $(document).ready()

What are the differences between JavaScript's window.onload ...READ MORE

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

PHP "php://input" vs $_POST

I want to know what is the ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 2,911 views
0 votes
0 answers

How to achieve pages like a math notebook in css?

Hey i'm a beginner to CSS so ...READ MORE

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

How to use CSS media query to scale background-image to viewing window

If you only want the desktop version ...READ MORE

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

Mongodb updateMany() not working in nodejs

I have a collection called imported_products with ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
• 2,186 views
0 votes
0 answers

horizontal line and right way to code it in html, css

I need to draw a horizontal line ...READ MORE

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

jQuery/JavaScript to replace broken images

To replace broken images in JavaScript, the ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
• 2,647 views
0 votes
0 answers

MySQL fetch assoc VS mysql fetch array

These are the commonly used methods to ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
• 2,135 views
0 votes
0 answers

jQuery UI DatePicker - Change Date Format

I am using the UI DatePicker from ...READ MORE

Jun 23, 2022 in Web Development by gaurav
• 25,250 points
• 2,306 views
0 votes
0 answers

What are the implications of using "!important" in CSS?

I've been working on a website for ...READ MORE

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

jQuery .html() vs .append()

html() will completely replace the content inside ...READ MORE

Jun 14, 2022 in JQuery by rajatha
• 7,680 points
• 2,675 views
0 votes
1 answer

jQuery get value of select onChange

To get the value and text of ...READ MORE

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

How to change CSS property using JavaScript

Use document.getElementsByClassName('className').style = your_style. var d = document.getElementsByClassName("left1"); d.className = ...READ MORE

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

How to position text over an image with CSS

How can I use CSS to center ...READ MORE

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

jQuery $(this) selector function and limitations

this isn't a jQuery "thing", but a basic JavaScript ...READ MORE

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

window.onload vs $(document).ready()

What are the differences between JavaScript's window.onload&nb ...READ MORE

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

CSS: Combine Texture and Color

Does someone how to combine Texture use ...READ MORE

Jul 18, 2022 in CSS by Edureka
• 13,790 points
• 1,234 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

May 15, 2022 in PHP by Kichu
• 19,040 points
• 3,030 views
0 votes
0 answers

Stretch background image css?

<td class="style1" align='left' height='35'> <div style='overflow: ...READ MORE

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

PHP - Notice: Undefined index

I wanted to do a registration form ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 2,928 views
0 votes
0 answers

jQuery: Test if checkbox is NOT checked

I'm having trouble figuring this out. I ...READ MORE

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

PHP Simple Form Validation

I want a form validation like the following. Name: ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 86,360 points
• 2,129 views
0 votes
0 answers

updating nodejs on ubuntu 16.04

When I used the node -v command ...READ MORE

Jun 27, 2022 in Node-js by Vaani
• 7,070 points
• 2,126 views
0 votes
0 answers

How to access function value in another function in PHP Classes

How can I return a variable value ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
• 2,218 views
0 votes
0 answers

Do something if screen width is less than 960 px

How can I make jQuery do something ...READ MORE

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

How to embed Ruffle flash player emulator into HTML file?

I was implementing SWF (Small Web Format) ...READ MORE

May 27, 2022 in HTML by Tejashwini
• 5,380 points
• 3,444 views
0 votes
0 answers

React.js inline style best practices

I am aware that React classes allow ...READ MORE

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

Stretch and scale a CSS image in the background - with CSS only

I want my background image to enlarge ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 • 724 views
0 votes
1 answer

Is this the Correct Way to Access Array Elements in jQuery?

Array elements are accessed by using an integer ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
• 2,670 views
0 votes
1 answer

Get checkbox value in jQuery

if you have set a class or id for it, you ...READ MORE

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

PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I'm running MySQL version 8 on PHP ...READ MORE

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

Remove blue underline from link

Having a link appear in white without ...READ MORE

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

HTML colspan in CSS

I'm trying to construct a layout similar ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,790 points
• 1,843 views
0 votes
0 answers

What is the difference between <article> and <section> in html5

When should I use the HTML5 "section" ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 • 713 views
0 votes
1 answer

How to shorten repeating code with html function and return tags in jquery

Firstly note that replace() only accepts two arguments, the ...READ MORE

Jun 15, 2022 in JQuery by rajatha
• 7,680 points
• 2,570 views
0 votes
1 answer

Set line spacing

Try the line-height property. For example, 12px font-size and 4px ...READ MORE

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

what innerHTML is doing in javascript?

Can someone explain what innerHTML in javascript ...READ MORE

Jul 29, 2022 in HTML by Tejashwini
• 5,380 points

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

What Does 'zoom' do in CSS?

I saw that certain jQuery plugins utilize ...READ MORE

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

mysqli_fetch_array while loop columns

I have this code to iterate over ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,040 points
• 2,618 views
0 votes
1 answer

Downloading jQuery UI CSS from Google's CDN

If you mean the jQuery UI CSS, ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,710 points
• 2,016 views