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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Next and Prev buttons doesn't work in flexslider

when i click next or prev buttons the slider does not slide into next or prev slider image. $('.carousel').each(function() { var ffid = $(this).attr('id'); $('#' + ffid + '...
tharinduka's user avatar
0 votes
1 answer
15 views

Clear all back stack, page navigation history for specific domain when user logout in javascript

I have one website from abc.xyz.com, when an user named A login from login page into my site, my site navigate to home page, when user A click on profile button, my site navigate to profile page which ...
user2905416's user avatar
-1 votes
0 answers
12 views

jquery number-format - install with composer

Maybe I am just too stupid to operate a search engine, but I did not find any possibility to install the jQuery number-format plugin with composer, which I like to do to keep the installation process ...
Jockel's user avatar
  • 56
0 votes
1 answer
16 views

How to import and append an excel file in kendo grid using JQuery?

I have a kendo grid and I want to import and append an excel file to my kendo grid. For example, if I have 3 rows in my kendo grid, then after importing the excel file containing 2 rows, the grid ...
Shivani's user avatar
-4 votes
1 answer
63 views

How do I make an image pop up after the user answers a prompt [closed]

I am making a big adventure map, and I need to make some images pop up after the user answers the prompts given. I have no idea what I am doing, and can't get a start on it. I have tried multiple ...
Sam thunder's user avatar
0 votes
0 answers
19 views

Storage.sync.set() to save the extension state [duplicate]

Im making a Chrome Extension! im kinda new to this and im still trying to figure out how to store the extension state even if the popup is reload or user leaves the page or closes the browser.. i have ...
Subhan Malik's user avatar
0 votes
0 answers
56 views

video with zoom incrusted in a modal window outbounds the limits of container

I have a web, with a datatable with movementst. This movements have a button to open a modal window, and is here where i have the problem. when the modal opens two videos from different angles of ...
pililagorda's user avatar
0 votes
1 answer
46 views

javascript not showing right message at right momernt

wrote a code to handlhandle the type of messatge i should get, I am looping over the table's all trs and finding the conditions to match Here are my conditions: if all rows have data-mode="...
Notion's user avatar
  • 54
0 votes
0 answers
17 views

Get DOM from external page using AJAX after 1 second

I am working on a page that gets the DOM from an external page, but when the external page completely loads, then it gets updated once before its fully loaded. Let me explain it more clearly. The ...
SinfonierDominante's user avatar
-1 votes
0 answers
19 views

How to add a widget to any project without the element with specific ID ( React )? [closed]

I am gonna add it to other project with only, and don't want to create a to the main project. Here is updated code. My Widget code. const root = ReactDOM.createRoot(document.getElementById('...
HighDevWizards's user avatar
0 votes
0 answers
11 views

Onsen-Ui with JQuery, Disable all page animations

I am a relative newcomer to using the Onsen-UI framework after becoming a dinosaur using JQuery Mobile. Somethings I have found straight forward but a few things have stumped me. I'am stuck trying to ...
London28's user avatar
0 votes
1 answer
38 views

JQuery code is not defined. Function not being triggered

I am getting the following error: Uncaught ReferenceError: toggleOptionsVisibility is not defined at HTMLSelectElement.onchange My HTML: <div> <label asp-for="Type"><...
M_Griffiths's user avatar
1 vote
2 answers
48 views

how to disable next button when the input is empty

i'm tring to create a multiple login form , every was fine but i want to disable next button if the email input is empty. the input class="email" and the button class ="btn-next" i ...
jorgejo26's user avatar
0 votes
0 answers
19 views

ajax call to refresh partial view on detail page not working after edit action from modal

I have a partial in a Detail view. I use a modal with the edit action to update the child relationship of the record in the Detail view. When I hit Save on the edit modal, the record updates, and I ...
David's user avatar
  • 59
0 votes
2 answers
99 views

How to make it preserve HTML tags if each line of text is wrapped with a div tag?

I'm seeking assistance regarding a code I have. It wraps each line of text with a div tag. However, the issue is that it doesn't account for HTML tags such as <a> or <span>. I'm struggling ...
mrWilson's user avatar
0 votes
1 answer
35 views

I couldnt change the image cropping code to be a defined image

( im gonna try to explain my problem onemore time ) I found a script on the internet and you can see in this link : Link But i couldnt change to code what i want. Script start to work image upload but ...
Serhat's user avatar
  • 3
0 votes
0 answers
33 views

How do I locate and block a Javascript function?

A website that I'm using has an annoying pop-up that randomly appears on the screen every x minutes. Inside the Chrome developer tool bar using the 'break on subtree modifications' option, I can see ...
Will's user avatar
  • 11
1 vote
0 answers
18 views

Custom jQuery to read window resize is working only when the viewport is an even number

I have a WP website whose header (.wp-container-6) contains a logo-container and a nav (.wp-container-5) in a row. nav has a padding-right matching logo-container's width, so it always stays in the ...
Nellie's user avatar
  • 71
0 votes
0 answers
36 views

Woff file font not loading in Jquery terminal

Im trying to get my Jquery terminal have a custom font, in this case I have a woff file of it in my code editor, and Im trying to figure out how to get that font into jquery terminal. For the css, ive ...
that_onecoder123's user avatar
0 votes
2 answers
47 views

Return nth child of a radio button group

I have three radio buttons in a group thus: <div class="form-check ml-4"> <input class="form-check-input" type="radio" name="1" ...
Stephen's user avatar
  • 73
0 votes
0 answers
14 views

Prevent user from navigating the previous page

I have 2 web pages Account.php and Pet_Visit_Hisitory.php On my Account.php I have a button that has a function window.location.href = 'Pet_Visit_History.php'; My Pet_Visit_Hisitory.php has a button ...
SoapEater's user avatar
0 votes
2 answers
44 views

How to output HTML value dynamically base on values from a dropdown created with JavaScript array?

I'm new to JavaScript and learning. I'm trying to create a dropdown of locations, and when selected, the shipping costs will dynamically shown for each location. enter image description here Here are ...
Boo's user avatar
  • 3
1 vote
1 answer
39 views

post value is not inserting in dynamic generted row in php form

i have small php form (with dynamic generated input rows) where i need one value from previous form. that value successfully inserted in first row. but when i dynamically generate more rows than that ...
Mian Omer's user avatar
0 votes
1 answer
46 views

Jquery Ajax Call is not working in Asp.net

I have searched many solution but nothing worked. I am doing just a simple Ajax call using Jquery in Visual studio 2019 but my code is not hitting Ajax call. Here is my code <script src="...
Shaiwal Tripathi's user avatar
-3 votes
1 answer
52 views

Jquery Calculate and print value of Total value [closed]

I need to calculate the total value User will input w X l X h Based on the user input my calculation should be totalVolume = w \* l \* h totalCost = totalVolume * 0.10 (which is volulmeVal) I want ...
Display Code's user avatar
0 votes
1 answer
48 views

javascript not accessing array or object

I'm working on a script that will loop through something similar to the following $( document ).ready(function() { let myObj = {}; initLoop(); function initLoop() { //this loads the initial ...
John Sly's user avatar
  • 763
0 votes
0 answers
39 views

Input time save hour and minute in separate ids

Is it possible to use input type="time" to send separate information? Example hour to id="hour" minute to id="minute" I have code in which I would need this function. It ...
Ualace's user avatar
  • 1
-5 votes
0 answers
31 views

Recursion in react js? [closed]

I'm learning React. I know about recursion in plain JS functions. And recently I've found that this concept exists in React too. It's called recursive rendering. import React from 'react'; const ...
Milin Vaniyawala's user avatar
0 votes
0 answers
13 views

How to autoupdate information from jetpack compose to monog database using textfields/dropdownmenus?

I am trying to figure out how I can make information within a textfield or dropdownmenu autoupdate. For example, if I choose a age of 20 in the dropdownmenu but later changes this to 25. How can I ...
Josef M's user avatar
  • 400
0 votes
1 answer
28 views

Data doesn't come in API consumption

In my project, I am filtering by searching. I can get the data while querying on the API side, but no data comes when consuming the API on the MVC side. API Controller, [HttpGet("...
Gökmen ADA's user avatar
0 votes
0 answers
21 views

How to add or show "Clear" button in daterangepicker?

I created a date filter feature with daterangepicker. The concept is almost the same as the date selection feature on AirBnB to see property prices on the selected date. I have created the code below. ...
Hilmi Hidayat's user avatar
-3 votes
1 answer
37 views

Remove integers in the beginning of a string in jquery [closed]

I have text in a table's TD which may start with space or number or multiple spaces. I need to remove all the spaces and numbers until I hit a character. I need to do it in jQuery. I am trying to ...
Tiger's user avatar
  • 413
0 votes
0 answers
27 views

Slick slider using horizontal scrollbar

I have a slick slider that I can slide by dragging, or using arrows or dots. I want to be able to scroll the slides using a horizontal scrollbar. With this snippet when the mousewheel moves a scroll ...
Alfreda Foley's user avatar
0 votes
0 answers
40 views

jquery update from 1.11.0

Please forgive the length of this post as I want to provide some background on the issue. I have been tasked to update jQuery on an essentially "orphaned" company php website. The site is ...
ScottG's user avatar
  • 1
0 votes
0 answers
15 views

Getting JQuery UI Draggable to snap to a specific grid (with a twist)

Im currently trying to apply a "drag and drop" - functionality to a bunch of elements using JQuery and JQuery UI. It should be noted, that the elements should always snap to a specific grid ...
Tired8296's user avatar
-1 votes
0 answers
46 views

I have to change Jquery Ajax Imagecrop System [closed]

I found on internet this imagecrop system. This System normaly image upload and crop system. If i try code is working. But if i try change the function it doesnt work. I have 20 pictures on my page. ...
Serhat's user avatar
  • 3
-1 votes
0 answers
27 views

get beforeunload confirmation value

In my VUE app, I want to write some logic on confirmation of page-refresh. But this does not work properly as it call function on both scenarios when user clicked ok or cancel. created() { ...
M.Talal Adnan's user avatar
0 votes
0 answers
41 views

Get full height of object tag

I need detect the full height of content inside an <object> tag. I'm trying to load external HTML, but it shows me a scrollbar so I want dynamically set the height of the object and avoid ...
user2987176's user avatar
-1 votes
1 answer
30 views

splitting and working with parts of array string [duplicate]

I need to do a forEach process for each part of a split string object: I am trying to create some code for each number character of a split string. An example of my string is as follows: 1,2,3,4;5,6,7;...
user22635947's user avatar
0 votes
0 answers
21 views

jQuery add delay if element does not exist yet [duplicate]

We have the following jQuery code, but that does not work well, because the page is also rendered with a lot of javascript, so document ready is not working in this case. When we add a setTimeout to ...
JGeer's user avatar
  • 1,790
0 votes
1 answer
24 views

Sending data from ajax to controller is not getting the value to the controller

I've been trying to pass JSON data into MVC controller, which hasn't worked so far. The controller method have the property as model like newObject like as follows [HttpPost] public ActionResult ...
Duk's user avatar
  • 909
0 votes
3 answers
61 views

How to add form validation to a modal in ASP.NET MVC?

I need to create a form in a modal which has a required field. The user must only be allowed to submit the form once the required field is filled and if it is empty an error message must be displayed. ...
Dilshan Prasad's user avatar
0 votes
0 answers
44 views

Instance of model is not found

I want to pass instance of the model but it has an error:cs9035 at return View(new TransactionModel()). error:cs9035 public async Task<IActionResult> AddOrEdit(int id=0) { if (id == 0) ...
ray's user avatar
  • 23
1 vote
0 answers
50 views

Formatting a text to Fit in any shape in SVG

How can I use SVG to format a word or small text in any shape for example the attached circle image ? Circle Image I am using following code but the following code is cropping the text not formatting ...
Sukhpal Singh's user avatar
0 votes
1 answer
13 views

gh-page hosting Parcel v2 built project contains static image assets that would not be displayed when live

Project website hosting on https://bigyajuu.github.io/my-portfolio/. The images in question are supposed to be viewed via these following clickable containers: When deploying my project to gh-page, ...
BigYajuu's user avatar
0 votes
0 answers
19 views

WordPress Learn Dash - registration code - function.php

Apologies ahead of time, jQuery is not my strength. I am looking to add a simple field to the registration page that requires the user to enter the correct code. If the code does not match it will ...
zeroanarchy's user avatar
0 votes
0 answers
46 views

Visual Studio 2022 IntelliSense not working for JavaScript

In Visual Studio 2017, I could just add: /// <reference path="../core3/core3.js" /> to the top of a .js file and IntelliSense would know to look there for functions, listing them when ...
Doug's user avatar
  • 1
0 votes
0 answers
33 views

My autocomplete only displays the last entry in my json array

I am not familiar with Jquery or JSON so I was happy I got this far with trying to build and auto complete search but in my search suggestions box only the last entry in the JSON response comes up. ...
Twiggit's user avatar
  • 93
0 votes
1 answer
53 views

Equal Height Multiple Selectors

I found the following script on Codepen and adapted it for a project I am working on: https://codepen.io/RogerHN/pen/YNrpVa I basically changed the selector: var matchHeight = function () { ...
Josh Rodgers's user avatar
-1 votes
0 answers
23 views

Unable to use jQuery ID selector to update text on an element [closed]

I have an HTML element like this: <strong id="TotalRecordCount" class="info1">0</strong> Why might this not work? $('#TotalRecordCount').text('' + count); When I add ...
schmiddy98's user avatar

1
2 3 4 5
20694