menu

Recent questions tagged javascript

1 vote
1 answer
Why is the context lost in the handler? There is a field input, I hang the event 'keyup' on it, after which the text of this input is added to the store. The problem is that in the addTodo function the text va ...
by zlodiak
asked Sep 24, 2021
1 vote
1 answer
image
How to summarize the property values of nested objects? https://jsfiddle.net/bmyt1p4n/ how to access the key (quantity), you need to calculate the total quantity. ...
by MegaPuxapb
asked Sep 24, 2021
1 vote
1 answer
image
How do I fix this behavior? I have a function where when you select checkbox published: $('#publish-activity').change(function () { var reasons = ; if (!$('#activity_activity_group ...
by zorro76
asked Sep 24, 2021
1 vote
2 answers
image
Why doesn't the isPointInPath function work on the second canvas tile? isPointInPath() only triggers on the top tile when hovering the mouse, and all other tiles are highlighted. When you hover your cursor over the bottom half, nothing s ...
by dpablo_escobarr
asked Sep 24, 2021
1 vote
1 answer
Why doesn't the filter work? <!DOCTYPE html><html lang="en"><b><i></i></b><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device ...
by Illia_23
asked Sep 24, 2021
1 vote
2 answers
How to connect a public cadastral map to the site? Good day! Is there any way to integrate a public cadastral map with your site that would display points on the cadastral number. ...
by Dante161
asked Sep 24, 2021
1 vote
1 answer
How do I change the style of the label element (let's say red) in pure JS? How do I change the style of the label element (let's say red) in pure JS? I realized that you can only change the style if you specify a class or id, but I need to cha ...
by StartPy
asked Sep 24, 2021
1 vote
2 answers
image
The "B" symbol is added to the scripts inexplicably from where and the js does not work correctly? this is added and the script does not work- If you open it in the editor, it's not there. I've never seen anything like this before. What exactly is the problem? Plea ...
by VPVPVP
asked Sep 24, 2021
2 votes
2 answers
Is there any way to distinguish JSON from blob? I get binary JSON from the server and, depending on the user's actions, a blob. How can I distinguish between them? Or do I need to write an additional login point on th ...
by Legalas61
asked Sep 24, 2021
1 vote
1 answer
How can I correctly exclude the inputs that have the disabled attribute from the selection? Help me figure out why this if condition doesn't want to work: I need to take all input type=text except those with the disabled attribute if (!$('.activity-content in ...
by zorro76
asked Sep 24, 2021
1 vote
1 answer
Is the library a currency exchange rate? Is there a library that can be used to find out the exchange rate? If there is, can I get a link? ...
by HepkaPlay
asked Sep 24, 2021
1 vote
1 answer
image
JS does not work in Chrome, but works in FF. Can you tell me what the reason is that the picture switcher does not work in Chrome. It works fine in Fox. I don't see any matching errors in the console. Link to the s ...
by Alexx_ps
asked Sep 24, 2021
1 vote
3 answers
image
How to make calculator logic, where to learn? The point is, there is such a calculator and do not know at all how to make its logic? Where to learn? How to make it? Can you tell me please? ...
by Anvar66
asked Sep 24, 2021
1 vote
1 answer
How can I separate the date and time from the line? There is a conditional line '01 02 03 04 05'. How can I select '01 02 03' as date and '04 05' as time (04:05)? But the string can be for example in these formats '01 02 ...
by gofi
asked Sep 24, 2021
1 vote
2 answers
How do I make the two blocks move at different speeds when scrolling? The point is that there are two blocks that will move at different speeds when scrolling ...
by anvarik2
asked Sep 24, 2021
1 vote
1 answer
Why is the input not working correctly? The essence of the error: for example, I write in input number 100 and choose from select parameter that I need and press the button and the console should display the r ...
by Stalk007
asked Sep 24, 2021
7 votes
1 answer
How do I get selected text in a pdf via JS? Hi all, here's the situation: There is a page with a pdf file uploaded to it via <embed> or <iframe> I can select text there, the pdf itself displays fine, ...
by igor_solweb
asked Sep 24, 2021
1 vote
1 answer
How do I insert the current date in the subject line of an email in "a href="mailto:"? Is it possible to use the construct " a href="mailto:123@site.ru?subject=vopros" to make the recipient see the current date in the subject line next to the word "vopros" ...
by PolinaD
asked Sep 24, 2021
1 vote
1 answer
How do you go deep into a facility? There is an object of the form const someObj = {title: 1,children: {title: 2,children: {title: 3,}}} You need to return an object that has no children property. How to ...
by 1233211
asked Sep 24, 2021