Javascript event listener
SitePoint Forums
by busybeeforest
58m ago
I have the following code in JavaScript. 'use strict'; document.body.append(document.createElement('textarea')); document.body.append(document.createElement('button')); let btnClick = document.getElementById('button'); function inClick() { let str = 'abc'; console.log(str); } btnClick.addEventListener('click', inClick); I am getting the following error when execting this script. Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’). I am unable to add an event listener when the button is clicked. 2 posts - 2 participants Read full topic ..read more
Visit website
I can not find the controls in VS 2022 toolbox
SitePoint Forums
by GeorgesRemi
3h ago
I installed new components and vs 2022 community display message that all controls were installed but when I start new windows forms and open the form I dont see the components installed also if I select “show all” I see them as grayed What is the solution to this problem ? 1 post - 1 participant Read full topic ..read more
Visit website
Software Packaging
SitePoint Forums
by alexasmith2851
7h ago
Hey everyone! I’ve been diving into the world of software packaging lately and wanted to share some insights and gather some tips from you all. When it comes to packaging software, it’s not just about bundling up files; it’s about ensuring smooth deployment and compatibility across different systems. I’ve found that adhering to best practices like version control, clear documentation, and automation tools can really streamline the packaging process. Plus, it helps avoid those dreaded compatibility issues down the line. What are some of your go-to practices for software packaging? Any tools or ..read more
Visit website
Curtain goes up after clicking 2nd x button 1 time
SitePoint Forums
by asasass
9h ago
If I unhide: .video-containerB.hide, The curtain does not go up after clicking the 1st exit button here. https://jsfiddle.net/6xavobs7/ .outer-containerA.hide, .video-containerA.hide, /*.video-containerB.hide,*/ .containerB.hide, .outer-container.hide, .containerC.hide { display: none; } At the code here: https://jsfiddle.net/6xavobs7/ The video to the 2nd x button is not visible? It’s clickable and the video plays though. Why? 1 post - 1 participant Read full topic ..read more
Visit website
How was the application?
SitePoint Forums
by fahimranabacklinks
16h ago
Hello guyz! We recently launch an android application on Play store for Receive SMS Online. Within few days we got good response. You should checkout also our Temporary Phone Number application. Thank you!! 1 post - 1 participant Read full topic ..read more
Visit website
The Future of Commerce: Navigating the Realm of E-commerce
SitePoint Forums
by onlinemba016
16h ago
The Future of Commerce: Navigating the Realm of E-commerce In the bustling landscape of modern commerce, the digital realm has emerged as the epicenter of economic activity, revolutionizing the way businesses and consumers interact. At the heart of this revolution lies e-commerce, a dynamic platform that transcends geographical boundaries, time constraints, and traditional business models. From global conglomerates to aspiring entrepreneurs, e-commerce offers an unprecedented avenue for growth, innovation, and connectivity. The Evolution of E-commerce: The journey of e-commerce traces back to ..read more
Visit website
ValueError when running chatBot program in new computer
SitePoint Forums
by chenphilip14
16h ago
I got a new laptop with a stronger GPU (4080). My chatbot runs fine in the old machine (with a 3070), but when I tried running it in the new laptop, I get this error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (39, 2) + inhomogeneous part. This is my Chatbot code, that contains the training and main program: #Philip's Bot #References: #https://projectgurukul.org/deep-learning-python-chatbot/ #https://www.tutorialspoint.com/python_data_science/python_word_tokeniz#ation.htm #https://stackover ..read more
Visit website
Which is best way of creating a database for each or one table in a database in MySQL?
SitePoint Forums
by thirupathi
18h ago
We are working on IoT device, each device will stores about 20 mb of data each month and we have 20K and more IoT devices in the filed. we need storage for 7 years. So which is best way of creating database for each device or one database with one table or one database with multiple tables ? 1 post - 1 participant Read full topic ..read more
Visit website
Apple iPhone Safari Internet Browser Only Supports Up To 5MB Web Cache?
SitePoint Forums
by JesseLeePalser
20h ago
Hi, Does anyone know how to bypass the iPhone Safari 5MB Web cache limit? Game tested on iPad (9th gen) and works without issues. You can play the current stable build below: https://jesseleepalser.itch.io/t-crisis-v You can view/download the entire source code project below: https://bitbucket.org/jesseleepalser/t-crisis_v_firefox_110percent_ai/src/main/ Any help would be greatly appreciated, thanks! Jesse 1 post - 1 participant Read full topic ..read more
Visit website
Malware using service workers
SitePoint Forums
by SamuelCalifornia
20h ago
I happened to stumble upon the list of service workers registered in my system. My default browser is Edge and the list of service workers is in edge://serviceworker-internals. For Chrome it is in chrome://serviceworker-internals. I was surprised by all the websites with service workers in my system. I do not recognize very many of the websites and many are suspicious. At the top are service workers for extensions; I left them but I unregistered any others that I did not recognize or really do not need. Does anyone know how much of a threat they can be? I found the article The Service Worker H ..read more
Visit website

Follow SitePoint Forums on FeedSpot

Continue with Google
Continue with Apple
OR