15,697 Topics

Member Avatar for
Member Avatar for Dani

Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. …

Member Avatar for Dani
1
174
Member Avatar for KamalDeepPareek

How can lazy loading improve web portal performance by reducing initial load times and optimizing resource usage? What are the best techniques to implement lazy loading in images, components, and data fetching using JavaScript frameworks like React, Vue, and Angular? How does lazy loading impact SEO and user experience?

Member Avatar for gediminas.bukauskas.7
2
540
Member Avatar for silverrr_btc

i have currently learning html only but its so boring do all of you guys had same problem and tell me which language do i start with html, me and my friend have made a site on html with little css and and js (thegeekinsights) and its going fine. can …

Member Avatar for retseaz77
0
73
Member Avatar for Krisha03

Hello There, I am looking for MUI React-based admin template in the TypeScript version for my project. Can you guys suggest some React Admin templates that are comprehensive and easy to use? I really appreciate any help you can provide.!

Member Avatar for Pelorus_1
1
240
Member Avatar for Ecommercewebdes

Let’s learn from each other’s fails! What’s a mistake you made in your early days of web design—and what did it teach you?

Member Avatar for Dani
0
35
Member Avatar for James_228

I’ve been working on a mid-size React project and started noticing performance lags and bloated component trees. I optimized a few things like: Using useMemo() and useCallback() smartly (but not overusing) Breaking components into smaller reusable ones Lazy loading routes and components But I’d love to know: What are your …

1
35
Member Avatar for MasoodDidThat

**Is it true that a java website faces much more page speed and core web vitals issues as compared to a wordpress website? ** I have seen many wordpress websites doing nothing on technical seo issues but having very good page speed whereas my website is a java website and …

Member Avatar for ashleydent4u
0
136
Member Avatar for jamesalery

Hi everyone, I’m just starting out with testing and I need to generate some test data for things like names, birthdays, emails, and other basic information. I’m looking for web-based resources or tools that provide random test data for use in my testing. like i used this *<Promotional link snipped>* …

Member Avatar for gediminas.bukauskas.7
0
60
Member Avatar for YashSmith

I'm facing a database connection error in my MySQL-based application. The credentials are correct, but I keep getting: ERROR 1045 (28000): Access denied for user 'admin'@'localhost' Is it a privilege issue, host misconfiguration, or MySQL version mismatch? Seeking expert developers in the USA to resolve and optimize the database connection.

Member Avatar for rproffitt
0
25
Member Avatar for YashSmith

My web app throws a 500 Internal Server Error despite the server running fine. No clear logs indicate the issue. The backend is in Node.js with Express.js. app.post('/submit', async (req, res) => { let data = await processData(); // Possible async issue? res.send(data); }); Could it be an async error …

0
36
Member Avatar for 杨_659

## **Introduction** > The McCharts component library is developed based on Hongmeng ArkTS syntax and supports API 9 and above. The chart component has been open sourced. Everyone can participate, whether they are new or experienced, to learn from each other, develop more component libraries, and enrich the ArkTS ecosystem. …

0
98
Member Avatar for 杨_659

**English Translation:** Hello everyone, I’m Chen Yang. It’s been a while since my last update. The main reason is my busy schedule with my full-time job, leaving me little time for writing. Additionally, I’ve spent the past six months learning HarmonyOS ArkTS, and now that I’ve reached a semi-proficient level, …

0
24
Member Avatar for YashSmith

If you want to add a dynamic filtering option in your web application, here’s a simple and effective solution using React. This filter allows users to search by keyword, set minimum and maximum values, and filter by category. import React, { useState } from "react"; const DataFilter = ({ data …

0
40
Member Avatar for ianhaneybs

I need to display a pound currency symbol before the amount that is calculated Below is the code I currently have <th class="text-right py-1 px-2 grand-total">0</th> function calc(){ var grand_total = 0; $('table#list tbody input[name="total[]"]').each(function(){ grand_total += parseFloat($(this).val()) }) $('table#list tfoot .grand-total').text(parseFloat(grand_total).toLocaleString('en-gb', {style:'decimal',maximumFractionDigit:2})) $('[name="amount"]').val(parseFloat(grand_total)) } I'm not sure where to …

Member Avatar for gottaloveit
0
71
Member Avatar for Mr.M

Hi Dw, I want to get the keys and data of the php json response, heres the response I get {"content":{"1":{"title":"Present","start":"2025,01,29","end":"2025,01,29","backgroundColor":"#f39c12","borderColor":"#f39c12"}}} all I'm interested in starts from title.

Member Avatar for Dani
0
90
Member Avatar for Sidaani123
Member Avatar for PsychicTide
0
22
Member Avatar for Mr.M

Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even if I click other options it doesn't return them. Heres my code var xid = $('#managsel option:selected').attr('id'); alert("The id is: …

Member Avatar for Biiim
0
128
Member Avatar for PsychicTide

Hello all! I have been away from this forum for far too long and would like to help with my experience/knowledge. This place helped me get through college and early professional work as a web developer. Is there a section to post random code snippets for tasks that may help …

Member Avatar for PsychicTide
3
71
Member Avatar for VSURE

var is function-scoped and allows redeclaration, which can cause bugs. let is block-scoped and doesn't allow redeclaration, making it safer. const is also block-scoped but used for values that shouldn't change. Use let for variables that may change and const for constants. Avoid var in modern JavaScript for cleaner, predictable …

Member Avatar for JuanB
-1
44
Member Avatar for PsychicTide

Hello friends, it's been some times since I've posted here, but this community has always been my "I really need help" place to go. Lets get to the idea... I have a WordPress (dislike WP very much) site I'm customizing. Have a popup iFrame on click that is built into …

Member Avatar for Dani
0
86
Member Avatar for Vishurey

I am driving an html site from my network drive in my office that can be viewd on LAN. I need to put a blog kind of section on my site so people who visite this site can leave there comments on it and all can see thses comments. Can …

Member Avatar for Dani
1
930
Member Avatar for Woodhales

As web development continues to evolve, AI-driven tools like automated coding assistants, machine learning-powered design systems, and intelligent testing frameworks are reshaping how we build websites and apps. At Red Star Technologies, we're witnessing firsthand how these innovations are making development faster, smarter, and more efficient. But with these advancements …

Member Avatar for Pebble94464
0
83
Member Avatar for horushe
Member Avatar for Dani
0
36
Member Avatar for Tara_Bilinskii

Hello everyone, this is Taras Bilinskii, from Kyiv,Ukraine. Hope you are all doing well during these tough times. Life has been particularly challenging lately, especially living in Ukraine, where the worldwide difficulties hit a little harder. Despite these obstacles, I believe in the power of community and creativity to uplift …

Member Avatar for pritaeas
0
14
Member Avatar for alexxx1

So i'd like to have a **text** saying [Location] which will be shown and changed based on the viewer's location/ip. I tried to follow this video here https://www.youtube.com/watch?v=1KiGKd2XXL4 but i didn't manage to make it to work. I registered on 2 websites to get an API key which i placed …

Member Avatar for toneewa
2
139
Member Avatar for alexxx1

I am creating a basic page in w3spaces and while I've finished editing the html and css part, I'd like to add a few scripts in it. I tried to add this script (https://www.w3schools.com/howto/howto_js_countdown.asp), which is a countdown timer to my own page but it seems like it doesn't run. …

Member Avatar for toneewa
0
128
Member Avatar for Mr.M

Hi DW. Does anyone know how can I clear a devtool network monitor log of a browser using javascript. I know the `console.clear()` only clear the console log not the network monitor tool logs.

Member Avatar for autowrecking
1
686
Member Avatar for pallavi2501

I’m looking for practical advice and best practices that can help improve a site's speed, considering factors like image optimization, code minification, and server response times. How do you balance performance improvements with maintaining a rich user experience? What tools or techniques have you found most useful in diagnosing and …

Member Avatar for adwinafram
4
248
Member Avatar for Mindmade
Member Avatar for trueframe

Can you guys help me figure out how to use tailwind utility classes "@apply md:text-xl" within .scss files in nextjs

Member Avatar for autowrecking
0
48
Member Avatar for Jacob_36

Hey all! im new to coding and have been struggling to import/create this in my vite, jsx project. https://codepen.io/sanprieto/pen/XWNjBdb it has the html, js and css but i dont know how to get it functioning in my test.jsx page. have tried everything,but am really struggling. wondering if you guys can …

0
19
Member Avatar for Robert_72

I'm start experiment with nodejs/coffeescript and the jade engine. I can see from the examples that setup are around seems pretty standard. app = express.createServer().listen process.env.PORT app.configure -> app.set 'views', __dirname + '/views' app.set 'view engine', 'jade' app.set 'view options', layout: true app.use express.bodyParser() app.use express.static(__dirname + '/public') app.use app.router …

Member Avatar for Sanket_17
0
2K
Member Avatar for azapovjednik

Dear All, (first of all I am a beginner!!!) I have a project single-page web application (php, mysql, jquery, angularjs). I have questiong regarding angularjs and php how to pass url parameter to php variable? public_profile.php?user_id=7 I know basics of angularjs routing, and it works fine. The problem is when …

Member Avatar for Sanket_17
0
212
Member Avatar for FarrisFahad

I am having a problem understanding the following ... I am an okay web developer. I am not great. But I want to make money from my skills. Having said that, when I go to websites like Freelancer to search for a project to work on everyone is asking for …

Member Avatar for jkon
2
134
Member Avatar for SolidSolutions

I had a difficult time figuring out how to get or test the last character of a string with javascript, so figured I would post it once I found out in case it helps someone else. I found plenty of removing the last character, but not for just checking what …

Member Avatar for Biiim
0
5K
Member Avatar for massivefermion

I'm learning nodejs(and I like it!). I tried to figure out how to have shorter alias for `console.log` and I found out that I can use `var cout=console.log` and use `cout('[string]')` from then on. Then when I wanted to use `process.stdout.write` and I tried to make a short alias for …

Member Avatar for Bhavika_1
0
326
Member Avatar for ruhiparveen0310
Member Avatar for Dani

We use a lot of AJAX that loads JSON files that return an application/json mime type. In some instances, these JSON files are used to assemble elements on the page, so we don't want to hide them from Google because we want Google to see the page fully rendered. My …

Member Avatar for Chris Hüneke
1
67
Member Avatar for Haseeb_12

Hey everyone! 🌟 Web development is evolving rapidly with exciting trends like Progressive Web Apps (PWAs), Jamstack architecture, and AI integration. What tools and frameworks are you using? How do you tackle challenges like responsive design, performance optimization, and security? Share your experiences and tips! Cheers, Haseeb Ahmad:

Member Avatar for jkon
0
95
Member Avatar for pyeri

Greetings Folks! I had signed up on Daniweb many years ago but never bothered to seriously post until now. Only when the "social networks" of the world like Reddit and Quora and Twitter started disappointing me beyond the usual excruciating limits did I decide to explore some other programming forums …

Member Avatar for Dani
2
104
Member Avatar for Admin907

I'm trying to understand what schema markup code is and how it works. From what I've gathered, it's a way to help search engines understand the content on a webpage better, but I'm not entirely sure how it's implemented or what benefits it provides. Can someone explain in detail: 1. …

Member Avatar for Umar_35
0
53
Member Avatar for carnoico

Hi, We are an educational institute. We are looking to implement something unique, we want to add multiple forms/surveys on the same page, we want each feedback form/survey under student name and rank so they can easily provide the feedback and then that feedback should be displayed on the same …

Member Avatar for Dani
0
42
Member Avatar for alexanderrm2024

Hello everyone, I have a task in which I would like to implement the graphical visualisation of a quadratic equation in the interval x =[-10,10] and - if any exist - the corresponding zeros, using CanvasRenderingContext2D methods. To convert the coordinates into pixel coordinates within the canvas: the coordinates into …

Member Avatar for Dani
0
83
Member Avatar for FarrisFahad

I want to understand how I can add an SDK to my PHP projects to make APIs calls. I noticed that every software company have an SDK. I also noticed that most SDKs use Composer. I don't know what composer is and do I need to have it for every …

Member Avatar for pritaeas
0
93
Member Avatar for ndonetimok

Hello guys, please can someone explain to me how i can know the framework of any website on the internet. I know how i can detect wordpress but other framework are hard for me. Please i need assistance on this.

Member Avatar for Dani
0
81
Member Avatar for Read a Book

Hello everyone i want to disable the automatic swipe effect on my product page on this site https://kupisi.mk the lib is called lightgallery i am not able to find the line of code to turn it off for 2 days i need fresh pair of eyes !! :S i made …

Member Avatar for Dani
2
346
Member Avatar for Troy

This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript page, simply edit an array of pages or "slides". You define a title, duration, and URL for each …

Member Avatar for PROSYS_1
1
15K
Member Avatar for Dani

I think that I understand the difference between: document.addEventListener('DOMContentLoaded', callback_fn); and: window.addEventListener('load', (event) => { ... }); However, as a jQuery user, what is the difference between DOMContentLoaded and the jQuery ready fn?

Member Avatar for jkon
0
207
Member Avatar for A_957

The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation exception that occurred within my application. This type of error apparently usually points to a problem where the code attempted to write to a protected memory …

Member Avatar for Dani
0
66
Member Avatar for SEO_935

AI-powered code reviews are bringing about a revolution in the way developers collaborate, enabling more efficient, accurate, and thorough evaluations of code prior to its integration into the central project repository. This transformation is made possible by leveraging machine learning and artificial intelligence to automate and enhance different facets of …

0
44

The End.