Anjanesh Lekshminarayanananjanesh.dev·Mar 4, 2024Without using document.getElementByIdA few weeks ago I was surprised at at the fact that something that seemed impossible was / is still possible. I didn't realize that this was even possible in my 20+ years of web development. I even had a debate with my colleague about not using it th...86 readsgetElementById
Anjanesh Lekshminarayananjavascript.co.in·Feb 17, 2024Capture Option data on Select ChangeSometimes we want to 'listen' to an event change of the select element. Especially when the option is changed - and get the newly selected value and store it elsewhere. For this we use onchange on the select element and not on the option element. The...84 readsHTML
haresh lakhwanidailylearn.hashnode.dev·Feb 25, 2023SHORTEST JS Program 🔥window & this keywordIn this blog, we will explore the window object in JavaScript and its connection to the "this" keyword. To understand this connection, we will write the shortest possible program in JavaScript and see how it behaves. Here is the shortest program we c...132 likes·287 readsJavaScript