Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
56 views

I’m working on a small web tool where users can enter a YouTube video URL and get the video thumbnail in the best possible quality. Right now I’m extracting the video ID and using the standard YouTube ...
Thumbload's user avatar
Advice
0 votes
3 replies
62 views

I am working on a web application where users can submit text input through a form. I want to ensure that the input is properly sanitized and stored without causing security issues such as XSS or ...
Elizabeth Cook's user avatar
0 votes
3 answers
54 views

On our landing page we have 'cards' that mention a specific category, along with some specific programs within that category. The goal is to separate clicks on the panel itself from click on the ...
MrCycling's user avatar
  • 3,106
Advice
0 votes
4 replies
61 views

I don’t have any code to attach, and I know this isn’t a typical technical problem. The real issue is that I don’t even know where to start. I have a problem and I don’t know how to solve it, so I’m ...
mohamed gawdat's user avatar
1 vote
1 answer
54 views

So ABP has a kind of helper to select elements that uses select2 under the hood. I already consulted the docs but didn't find anything. So basically I have a cshtml element that looks like the default ...
lilnoob's user avatar
  • 17
0 votes
0 answers
32 views

I am working on Vasco Vasturiano’s incredible, indelible 3d-force-graph. I would like to display node attributes in Tweakpane gui (or sidebar, or bounding box), providing info such as description, or ...
greg.gan's user avatar
1 vote
4 answers
100 views

I'm having trouble programming automatic button focus in JavaScript. Let's say we have a very complex application interface and need to restore focus to some buttons after they've been lost. For ...
Sparkle's user avatar
  • 33
Advice
0 votes
7 replies
69 views

I found the following JavaScript function for jQuery online: function wcqib_refresh_quantity_increments() { jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)")....
dabri's user avatar
  • 1
1 vote
0 answers
73 views

I am working on Vasturiano’s (mindblowing, spell-binding) 3d-force-graph, and having trouble combining (and separating) three seemingly very simple elements: a sprite, an image, and image text. In ...
greg.gan's user avatar
Tooling
0 votes
9 replies
112 views

I'm new to JavaScript and created the "99 Bottles of Beer"-lyrics in code. How to make this more professional? for (var numberOfBottles = 99; numberOfBottles >= 0; numberOfBottles-- ){ ...
Fatima BT's user avatar
-2 votes
0 answers
102 views

Checking supplied argument existence is an "every day" operation. For example, in "plain" argument list f(x,y), this can be done with "type of x". But how to check ...
Bitlab's user avatar
  • 39
Best practices
1 vote
2 replies
79 views

I have a JSON string and I want to: Validate if it's correct JSON Format (pretty-print) it for better readability What is the best way to do this in JavaScript? Answer: You can validate and pretty-...
Piyush Dabhi's user avatar
0 votes
1 answer
77 views

In my project I am using this babel.config.js file to convert from browser-compatible JavaScript into Node.js-compatible JavaScript before running my Jest tests: module.exports = { presets: [['@...
FlatAssembler's user avatar
Advice
0 votes
8 replies
172 views

I need to vent — and genuinely want to hear from people who've been in this spot. I'm a passionate JavaScript developer. JS is not just my job, it's how I think. I've spent months going deep on ...
Jay Gajera's user avatar
1 vote
1 answer
102 views

I'm trying to read the stream response from my API in iOS (specifically Safari, but seems to be the same issue for any browser on iOS). The issue appears to be when attempting to read the stream, in ...
Jason's user avatar
  • 2,341

15 30 50 per page
1
2 3 4 5
168273