Category "jquery"

Bootstrap-treeview : How to close child and grandchild when the page load in treeview

Currently my treeview is like this , when the page load it opens the child tag. how to keep the child tag closed when the page load. when the page load Menu 1 n

Arrow style over the text using css

I am trying to apply an arrow style on selected ul, li elements. However, I am quite sure how to do that. So far I am able to do this below is my code. .a

Hide/show div using radiobutton functionality using Jquery

I have text & image wrapped in a div. Using Radiobutton the image & text should appear on the left & right. If you select left-icon radiobutton, the

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

jQuery doesn't want add class without point

jQuery doesn't want add class without point. Here's the html markup: <div class="form-group" id="plis"> <select class="form-control-input notEmpty"

How to close sidenav menu when click out of container div

I'm building a sidenav menu that appears and disappears when click a button. I learned a lot here about stacks, users have helped me up to this point, but now I

removeClass('data-element="xxx"'); not working

I have html code like this: <div class="smt" data-smt="41" data-element="do"> how I can remove this special attribute [data-element]? I trying like this,

i can not pass parameters to backend ( from Ajax to IActionResult or JsonResult) .net core 5

i have problem i can't pass params to backend use fech or ajax call , but from another PC i can pass params, here is a sample from code Backend : [HttpPost]

Checkbox to show hide div .... on another page [duplicate]

This code works well for results on the same page. I've been looking around and cant find what i want...what i want is to see the results on a

Disable CSS transitions on window resize?

I'm surprised I can't find any solutions to this. I've got four square divs which are in a line at full-screen, in a 2x2 grid at mobile size. They change colour

Ajax Loaded Content - Deeplinking URLs

On my WordPress website I have a custom page template containing a post grid (showing the titles only) and on click on the title it is loading the whole content

How to update the actual true value="" of a input field when another field is entered

I have reviewed tonnes of articles and all solutions only update the visually displayed value as opposed to the actual value within the input tag itself. When I

I have one next button onclick of it increments my url as http://www.dev-crn.com:5703/tag/cloud/6... so on

I have one next button onclick of it increments my url as http://www.dev-crn.com:5703/tag/cloud/6... so on now i need to decrement the url onclick of previous b

How to have the input value appear?

Hello I am new to coding and I have to do this an assignment for school, I am just a little bit stuck on this part of the assignment. I need to be able to make

hyperscript equvelant of jquery .on("click"

$( document ).ready(function() { console.log( "ready!" ); var counter = 0; $("button").click(function() { e="<p class='test' _=\"on

Redirect with PHP after ajax call

Im doing the following ajax call: $('#save_sale').click(function() { var save_sale = 1; $.ajax({ type: 'GET', url: 'summary.php',

Bootstrap table with "Filter Control: and server site

I try use bootstrap-table with Filter Control. After I change filter value and load data from ajax my filter value is cleared. <table id="table" data-tog

CSS not loading properly when html element appended using jquery in django template

I'm working on an ecommerce app where trying to get products using ajax and append the product list using .append method and data is being appended the problem

Error in getting table row value to be deleted/updated. String input as undefined

I am making a simple CRUD function for a bill management system. It uses Jquery AJAX JSON to communicate to the servlets. The update and delete functions are ac