39,597 questions
2
votes
2
answers
94
views
Scroll an option into view on open
I have a select with months.
The most used is April, so I'd like to present it when the user open the select when nothing else is chosen already.
I have a solution that works well in Chrome (the ...
0
votes
1
answer
54
views
Is there a way to figure out which input an open jqueryui datepicker is linked to? [duplicate]
I am working on an old project that uses jquery datepickers. On one page it has multiple inputs, all of which can open a datepicker (but only one datepicker is visible at any one time). Is there a way ...
0
votes
1
answer
54
views
jQuery Tabs UI Issue - from jQuery version 1.8.0 onwards
When working with jQuery and jQuery UI, I have an issue where after version 1.7.2 of jQuery, the tabs structure I have no longer work as previously expected.
This is the source I'm working with. If ...
0
votes
1
answer
96
views
JQuery Calendar Date Picker - Show Calendar without Clicking
On our website we currently have the Jquery date picker implemented, but my boss would like it if the calendar could just be active the whole time without the user needing to click on it to get the ...
0
votes
3
answers
68
views
JQuery UI datepicker Date Range modifications
I am using the basic JQuery UI datepicker, I need the date range with check in and check out but I need to add date + x days to the check out input.
How can I add x days to $.datepicker.parseDate( ...
-1
votes
1
answer
73
views
Issue with Switching and Adding Classes to Elements on Mouse Click
I'm encountering a problem while trying to switch and add classes to elements when a mouse click event occurs. Likewise I have multiple "li" elements. I want to add "class = subdrop ...
2
votes
0
answers
139
views
Penetration test fails for Wordpress 6.7.2 as jQuery UI 1.13.3 reached EOL
I'm running a Wordpress 6.7.2 multisite network for a customer of mine.
A recent compulsary penetration test failed with following message:
The following software is used on the pages in an end-of-...
0
votes
1
answer
67
views
Jquery hide or show text field based on radio button selection [closed]
I have the following code to display text box based on radio button selection. This does not work however. How to make this code work?
I want the text box field to show if useDockerCompose is chosen ...
0
votes
2
answers
88
views
Prop hidden() or hide() and show() can't used in Select2 Multiple Option
I want to ask about select2. I want, when I choose the option it will be hidden from the options in the select. And also if we remove it in multiple select option, it will be showed too in the option. ...
0
votes
1
answer
51
views
Draggable slider for touch devices
var reachedLast = false;
var reachedFirst = false;
jQuery("#gbar").draggable({
axis: "x",
containment: "parent",
drag: function (event, ui) {
var ...
0
votes
1
answer
56
views
Multiple Date Pickers - disable selected dates
I'm using 'MultiDatesPicker for jQuery UI' http://luca.lauretta.info/Multiple-Dates-Picker-for-jQuery-UI/ which as far as I can tell uses jQuery-ui Datepicker.
On my site I've got 3 date pickers ...
2
votes
2
answers
98
views
Removing Last Text Parentheses Using jQuery From a String
I am trying to remove the text from the last parentheses within a string using jQuery. I am able to remove the parentheses from the string but the code removes every parentheses and I need the last ...
1
vote
1
answer
106
views
Clear Selectable Element Filter using JQuery Button
I am following the below answer for my charting scenario, I have no problem in expected functionality like rendering the chart, filtering the charts.
Editing Google Charts Category Filter
My Problem ...
1
vote
1
answer
78
views
how to adjust draggableElement to have correct x and y position
I have implemented chart js to plot a two curve indicated by red and blue line. I want to add a slider (black vertical line) so that it remains always within two curves and user can move it left and ...
0
votes
1
answer
76
views
activeClass and hoverClass not work in jQuery UI Droppable
My drop function fires and everything seems correct but the hoverClass and activeClass does not change the div background.
I've tried this under Chrome, Firefox, and Edge. It has to be something I am ...