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
1,034,517
questions
0
votes
1
answer
34
views
How to get highlighted text with Javascript?
So I actually have this mostly working, but I've run into an issue that I can't quite get sorted. First I need to give a quick explanation of what I'm trying to do:
What I'm trying to do and the ...
0
votes
0
answers
17
views
toggleClass works once, but not in every needed scenario
My toggle class doesn't work in a specific scenario (I've also tried it with addClass and removeClass but still did noting.
I've made 5 bars, with a button that opens up the bar and closes the other ...
-1
votes
0
answers
27
views
Login page HTTP request sends infinitely
I have a simple login application which the HTML looks like this:
<html lang="pt-br">
<head>
<link rel="stylesheet" href="css/bootstrap.min.css" type=&...
0
votes
0
answers
25
views
Problem in sending data to the controller through Ajax in ASP.NET MVC
I use this foreach:
foreach (var item2 in RItem.GetChildItems(item.ID_Ca))
{
<div id="@idc" class="accordion-collapse collapse" aria-labelledby="headingTwo2"
...
-3
votes
0
answers
24
views
Autocomplete Combobox not working with Bootstrap 5 [closed]
I am trying to use JQuery Autocomplete Combobox. My Site has Bootstrap 5.
I have tried all the ways by placing the links up and down but it is not working and saying "Combobox" is not a ...
0
votes
0
answers
19
views
ASP.NET MVC datepicker doesn't show calendar
I'm trying to add datepicker, however when I try to use @html.TextboxFor, the calendar is not popping up. As for EditorFor to input="date" options, they show mm/dd/yyyy format when I need dd/...
0
votes
1
answer
29
views
How to build a triangle with multiple segments on canvas? [closed]
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
69
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....
-7
votes
0
answers
36
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
16
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
11
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
29
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
17
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
55
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
22
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 ...