1,034,111 questions
-1
votes
1
answer
38
views
JQuery Required Radio Button Error Message Not Removed When Selected
I have a form which is using the JQuery Validation plugin, but when I submit an empty form required all inputs, dropdowns, radio buttonsvalidate correctly.
When i make a selection for a dropdow or ...
0
votes
0
answers
76
views
Related Posts are not showing thumbnail on blogger
Some time ago, I installed in my site (using Blogger) the Related Posts gadget. The results are good, and really show related posts, not just prioritizing newer posts like other gadgets that I tried ...
-4
votes
0
answers
46
views
Can not add class to $(this) element [duplicate]
We have a list of dates as `<label>` elements.
A selected date has a class to highlight it.
Clicking on another date should highlight that date, only.
We can not get this to work in the context ...
-2
votes
0
answers
156
views
JavaScript gallery with thumbnails [closed]
I have a problem: this website has an image gallery.
When I select a button (for example kaplica), the images are filtered (images are shown under all green buttons), and the selected images appear ...
Advice
1
vote
11
replies
277
views
Why should I learn Javascript if I could just learn jQuery?
I'm a beginner web developer, and I'm mostly working on a personal website of mine. I'm trying to learn the basic stuff since I'm still in school and don't have much time to learn additional languages....
-5
votes
0
answers
67
views
jQuery Multiselect plugin runs automatically without calling multiselect(). Why? [closed]
I am trying to use the jQuery plugin Multiselect on a select in a simple PHP page. The options are generated from a database and inserted via JavaScript.
<form>
<select name="courses&...
Best practices
0
votes
7
replies
139
views
How to replace JSON name with a variable in Javascript?
I am trying to implement a search function with checkboxes and want to replace part of this function with a variable as to not have to write a switch case with the same code varying in one line.
This ...
Advice
2
votes
10
replies
230
views
Is jQuery relevant today?
I am a FULL STACK DEVELOPER , my tech stack is MERN, but I am curious about jQuery , php . I do not know why but I just feel like I should know about these like how jQuery works and how reactjs ...
1
vote
2
answers
112
views
How to toggle bootstrap nav pane from a button
I have successfully implemented a tabbed pane design with collapse for small screens.
On one of the panes I would like to include a button which toggles to another pane.
I have tried unsuccessfully ...
1
vote
1
answer
61
views
TextChanged Postback not firing when pasting input
I’m having an issue with this JavaScript: when I paste a number, the TextChanged postback is not triggered, whereas it works correctly when I type the value manually.
It’s a general control, and the ...
0
votes
0
answers
157
views
JQuery gallery with multiple instances not working
I have a webpage where I want to get multiple instances of the same JQuery-powered gallery tool.
The first instance works just fine; all the individul items are clickable, the arrows work, and moving ...
-6
votes
2
answers
126
views
submitting form and using preventDefault() in validation but can no longer submit form after validation is addressed php/jquery
I am trying to submit a form and validating data using jquery by calling preventDefault() when it's incorrect. After addressing the validation error, what I want is to submit the form when the submit ...
Advice
0
votes
1
replies
40
views
How to toggle icon/image of Bootstrap button with jQuery and data attributes?
I have this button that toggles it's text from "Show more..." to "Show less..." whenever it's clicked:
<button
class="btn btn-sm btn-secondary"
title="...
Best practices
1
vote
7
replies
117
views
HTML: set onclick event handler in external script file before user clicks it?
I am removing inline JS from HTML files due to CSP in an existing project, so this old code:
<input value="Click here" type="submit" name="submitA" onclick="...
Advice
1
vote
19
replies
322
views
How can I deal with this javascript variables problem?
I have a quiz with 5 questions with a couple of answers you can choose from each, it's always single choice, so you will have 5 variables in the end, one per question q1="",q2="", ....