Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
179 views

Creating object in JS that is passed into IHttpHandler

I am working on a web page where I am creating a JS object using {} and []. This object is passed into a handler I wanted to ...
Jefferson's user avatar
  • 413
2 votes
2 answers
84 views

How can I simplify this JQuery validation process?

How can I simplify this functioning JQuery validation process: ...
John Beasley's user avatar
3 votes
0 answers
203 views

Dynamic Bootstrap 4 modal using JavaScript OOP

I have created dynamic Bootstrap 4 modal using JavaScript OOP. Please verify and give your reviews how I can improve the code. I have passed four parameters to create a dynamic modal: ...
user11657014's user avatar
1 vote
1 answer
1k views

Display Object as a node tree in HTML with clickable trace back to root node

I was given the following code and instructions for a technical test for a potential technical role I had applied for: ...
Eliseo D'Annunzio's user avatar
6 votes
2 answers
556 views

Soccer field map creator

I am fairly new to OOP and am working on a little website project to practice. I wanted to post after getting the initial setup done in case I am making any major errors or not following best ...
Lou Bagel's user avatar
  • 461
2 votes
0 answers
56 views

Event handler re-use in Javascript

I've been trying to deal with a lot of duplicate code in the first web pages I've been working on and have been playing around with the prototype model, which I think is the 'right' way to go about it....
S Meredith's user avatar
5 votes
1 answer
79 views

My simple jQuery website returns JSON data from two different servers

I'm looking advice from more experienced people about how I can improve my code. I also want to make my code object-oriented (create classes in separate .js files) but I don't how best to do it. How ...
Jammi's user avatar
  • 51
1 vote
1 answer
78 views

Objects using jQuery to maintain a playlist of shows

This is my first attempt at using OOP JavaScript in my work. I know the concepts but implementation is more complicated than I thought. Now the code is a mixture of several things (JavaScript/jQuery). ...
dimelsa's user avatar
  • 19
2 votes
3 answers
277 views

jQuery plugin to highlight text spans in various colors

I am trying to tackle two fairly massive concepts through JavaScript and jQuery, the first being object-oriented programming and the second being how to build robust modular plugins with an OOP ...
Mike's user avatar
  • 184
6 votes
1 answer
2k views

Simple Blackjack game using JavaScript and jQuery

For my first JavaScript/jQuery project, I made a simple Blackjack game. However, I would like to have a more object oriented approach. I would truly appreciate it if someone can review my code and ...
Tim K's user avatar
  • 61
0 votes
1 answer
92 views

JavaScript events architecture [closed]

I have made one architecture on my project and want to know. Is it good or bad? ...
Alexander Lyashenko's user avatar
3 votes
0 answers
149 views

jQuery modal dialog plugin

I'm working on creating a new jQuery modal plugin. I'm pretty good at jQuery but still pretty new to the whole object oriented plug-and-play style of plugins so I used a different plugin I found ...
DasBeasto's user avatar
  • 155
3 votes
0 answers
143 views

jQuery form change listener, modularized using ES6

I have the following javascript code that I'm trying to modularize using ES6: ...
YPCrumble's user avatar
  • 139
3 votes
1 answer
65 views

OOP and non-OOP versions of layout and page animation code

I am trying to learn how to write more object oriented javascript code, but I am having a hard time understanding the correct way to do it, and how it is useful for front end development. As you can ...
Christopher Hill's user avatar
3 votes
1 answer
111 views

Stock performance app

I'm building an app that tells you a stock's percentage change in price between two dates by using Yahoo's API. Given a stock ticker and two dates, it currently outputs the percentage return to the ...
Jackmc1047's user avatar

15 30 50 per page