1,034,380 questions
1
vote
1
answer
78
views
Why is my Div moving to the right on mouseup?
I'm trying to animate an image move to the middle of the screen, zoom in, and become fixed when pressed, and then go back to where it was before when let go. However, the height and width are not ...
0
votes
1
answer
63
views
How to convert HTML content into its constituent entities in jQuery?
There is a div containing a bunch of HTML:
<div id='thediv'>
<p>Hello</p>
</div>
We want, on a certain event in jQuery 3.7.1, to have the contents of that div turned into ...
-5
votes
2
answers
104
views
How can I update a Json record in Dom for each person, when their unique id is there twice, but under two different dates?
How can I update a JSON the record in the DOM for each person, when their unique id is there twice, but under two different dates.
I am making a weekly work rota. John, James, Helen, Susan etc. I ...
1
vote
2
answers
58
views
Checkboxes Array Retaining UnChecked Checkboxes When Form is Submiited
I'm using PHP8.1 and HTML. I have a form with checkboxes, which are fed dynamically from a MySQL database table. When I uncheck a checkbox and submit the form, the unchecked checkbox is still seen in ...
-2
votes
0
answers
50
views
Jquery adding/removing html rows + JSON arrays [closed]
I'm trying to make a system where a user can add or delete a row into a temporary table so that they can edit a JSON "table" that'll be sent via AJAX to get some query results (haven't ...
0
votes
1
answer
42
views
Listing results in Isotope by date - issue with Safari parsing date
I am using the code below to list the results in an Isotope call by published date and a priority flag. This works OK in Chrome, but I've noticed that the ranking is in reverse order in Safari - so ...
0
votes
1
answer
42
views
jQuery closes automatically div added [duplicate]
I have this HTML code generated by Content builder JS editor in my back office:
<div class="row clearfix" id="slider">
<div class="column">...</div>
...
-1
votes
1
answer
82
views
ASP.NET webforms Ajax to pass data from aspx to code behind
I need to pass some data from an .aspx file to its code behind file.
<form id="form1" runat="server">
<div>
Name : <input type="text" id="...
1
vote
1
answer
87
views
jQuery Ajax POST operation doesn't pass data
I have this script on my main page. There are quite a few lines that are not directly relevant to the Ajax request but I've left them in in case that are having some unwanted effect.
$(document).ready(...
-2
votes
0
answers
65
views
WrapAll with class X but skip other classes? [closed]
I would like to put a div with the class 'wrapper' around the divs with the class 'LIST', but not have them all bunched together. It needs to skip over different classes and start again.
The desired ...
2
votes
1
answer
135
views
jQuery sortable table rows are overflowing their container while moving
I am using jQuery sortable to order the rows of a Bootstrap table. Functionally, it works fine. But while moving the <tr>, if the browser is sized such that the table doesn't fit in the ...
1
vote
0
answers
85
views
Cascading dropdowns stop working after rendering form via Ajax in ASP.NET MVC
I have an ASP.NET MVC form with cascading dropdowns (Category -> Sub Category).
Everything works fine when the form is rendered normally in the view.
However, I changed my code to render the form ...
1
vote
1
answer
55
views
Zebra_DatePicker popup position breaks when input is inside `position: sticky` container
Question
I am using Zebra_DatePicker (v2.2.0) with an input field that is placed inside a container using position: sticky.
The sticky container itself works correctly and stays fixed relative to the ...
4
votes
1
answer
86
views
Can't get an XML attribute from XML using jQuery
I have XML that looks like this:
<markers>
<marker>
<name>Company A</name>
<geo comp="HQ">44.42, 26.95</geo>
<geo comp="SA plant"...
1
vote
1
answer
91
views
Can not use Jquery or Javascript to Focus on an input field that has Jquery Timepicker attached to it
I edited the snippet yesterday but have no idea what happened to it?
$('#Period1TimeFrom').timepicker({
timeFormat: 'HH:mm',
interval: 15,
minTime: '08:00',
maxTime: '20:00',
defaultTime: '&...