Questions tagged [jquery]
jQuery is a JavaScript library. jQuery is a popular cross-browser JavaScript library that facilitates Document Object Model (DOM) traversal, event handling, animations, and AJAX interactions by minimizing the discrepancies across browsers. A question tagged jQuery should be related to jQuery, so jQuery should be used by the code in question, and at least jQuery usage-related elements must be in the question. Consider also adding the JavaScript tag.
jquery
83
questions
0
votes
0
answers
5
views
MVC datepicker doesn't show calendar
I'm trying to add datepicker, however when I try @html.textboxfor, the calendar is not popping up. As for Editorfor ot input="date" options they show mm/dd/yyyy formart when I need dd/mm/...
0
votes
1
answer
20
views
How to build a triangle with multiple segments on canvas?
I created a triangle with small triangles using canvas and script with the following information:
Equilateral triangle with 100 cm.
Inside each triangle are triangle for 5 cm inside.
Inside ...
0
votes
0
answers
51
views
How do I create unique ID in div?
I have an infinite scroll page in Wordpress. While scrolling, the script loads, but it renders all the text1.js in to the first <article><div>.
This means that when I see article 1, text1....
-6
votes
0
answers
28
views
Need Slider that moves with hover [closed]
[I want to create a slider which work like this with html css js, which means when i hover to the next slide the slider moves]
(https://i.sstatic.net/DjurWC4E.gif)](https://i.sstatic.net/DjurWC4E.gif)
...
-2
votes
0
answers
13
views
html-pdf library , pdf create method, not working, not able to create pdf using this lib
html-pdf: Received the exit code '1'
html-pdf: Evaluation - ReferenceError: Can't find variable: $
Stack:
at undefined
When i am trying to create pdf using html-pdf lib , using below then i am ...
1
vote
0
answers
9
views
ASP.NET Core Razor Pages - Logging User Logout Time on Browser/Tab Close
I have an ASP.NET Core 8.0 project using Razor Pages where I'm logging user login and logout times. Currently, I'm facing an issue where if the user closes the browser/tab directly, the logout time ...
0
votes
2
answers
27
views
How to validate array of array inputs Jquery?
How do we validate array of array input boxes using jquery validation plugin?
Below is html code.
<form id="transport-form">
<div class="form-group>
<label> ...
-1
votes
0
answers
11
views
Ajax Jquery append dropdown only populating once [duplicate]
When choosing a state, the user can also filter by city. However, the cities only populate once on their dropdown. All of the data for the new state selection(the cities) is being sent and logged. But ...
-1
votes
0
answers
50
views
jQuery: onclick event works only the first time
Trying to add two event handlers on two elements respectively. The second element will only appear in DOM after users clicks the first element. My problem is the first event handler only work for one ...
0
votes
1
answer
21
views
jQuery Chat - Scroll to the bottom
I have a script that scrolls to the bottom of the messages div when it loads the chat or when a new message is sent. I was checking if the user was already at the bottom of the div because if it is ...
0
votes
0
answers
17
views
jQuery Hide or show an element upon confirming delete
I have the following PHP loop:
for ($i=0; $i<sizeof($order->products); $i++) {
$id = $order->products[$i]['id'];
...
...
echo '
<div id="piGal_' . $id . '...
0
votes
1
answer
10
views
How to query post requests on browser
I've been getting started with querying APIs, and I spent a while today frustrated with trying to do a POST request through my browser, the same way I was able to do GET requests. I folded and got ...
0
votes
1
answer
18
views
Check for Table null in Jquery for JSON response
I have a JSON Response which has 5 tables. So I parse that same JSON. After parsing, I am getting 1st table as [] . So I want to check that condition. Below is the JSON response and parsing.
var ...
0
votes
1
answer
14
views
How to disable options with especific value in all selects with same name?
I have several selects like this:
<select id="slctDat1" name="slctDat1" class="form-select">
<option value="1">Text1</option>
</...
0
votes
0
answers
17
views
Selectize not showing results that starts with the character Ñ
I have a list with several options but the search is not showing the element that start with the Ñ character. If this character is in the middle of the string, it has no problems. here i copy the code ...