Tired: How to append previous ajax data on back button press | history.js

I want to check before ajax call, whether cache version of the page is available or not. current code fire-new ajax on every click. if available append data else call load_...
davy_yg davy_yg
1

Image Scroll

Hello, I am trying to understand this script: img-scroll.js }(this, function ($) { var imgScroll = function (opt) { var _d = {...
grgbikash05 grgbikash05
1

Binding two variables in js

$(this).on("click", that.smoothScroll.bind(this, that)); This works but i can't send event to the smoothScroll function. smoothScroll(e) { e.prevent...

document.execcommand(' bold') not working

I am trying to create a content editable div for blog page. In it my document.execCommand(' bold') is not working properly. It sets the font to bold but does not go back t...
swimmer swimmer
1

window.location.href only working with sessionStorage

I have the following chunk of code let temp_link = pagin[the_array_that_is_the_next_pagin].href; sessionStorage.setItem("temp_...
galih56 galih56
2

How to make parallax animation?

I built my own web portfolio. It's not really responsive. The problem is i built some animations with javascript. The animations are supposed to disappear when we scroll to...

foreach radio items

Hi. I'm not particularly good with javascript but bumble through slowly. What I'm trying to do is to have a selection of radio buttons under a foreach loop of images...
incridible incridible
6

js code is not applying in html button

Hello (in my scenario the users opens the tickerts (threads/questions) and after solving we close it if the user reopen the ticket then he the ticket shows in opened ticket...

How to close all when I click someone open?

// Add event listener for opening and closing details $('#laravel_datatable tbody').on('click', 'td.details-control', function () { var tr = $(t...

Algolia Places removing the first line of address before submitted

I've set up a form on a page, with two address fields for different people. The first submits fine, the second address is found fine by Algolia places and the Line 2, city...
idcreatv idcreatv
5

Individual uploads via Ajax to prevent timeouts etc

I have a client who needs to upload large amounts of images at the same time ("busy, busy, busy - I just want to 'select all' and have them all upload, all 100 (or so)...

Bootstrap 4 scroll spy not working

I've copied and pasted the code snippet of scroll-spy from bootstrap documentation in jsfiddle. <a class="navbar-brand&quo...
AbdulBazith AbdulBazith
6

calculation problem in javascript, showing NaN error

Guys iam working with a project Inventory control. i have a purchase order form. in that form i have array of textboxes in row format. so if admin need...
splendidkeen splendidkeen
4

Update user settings with toogle switch

I am trying to implement a switch within a User's Settings view, to trigger a boolean, but am struggling to connect the switch with the post route within my script....

hi, i'm trying to filter data and get count the price but it generate price 0 how do i fix this

<script> $(document).ready(function(){ $('.input-daterange').datepicker({ todayBtn:'linked', format:'yyyy-mm-dd', autoclose:true...

js history.pushState

I'm building a filter for an overview of tickets, these tickets are loaded with ajax. When I check some boxes in the filter menu, I will change the URL without reloading....
nicklaw5 nicklaw5
4

jQuery and laravel-mix - Why you no work??? (ノಠ益ಠ)ノ彡┻━┻

I have been using Gulp for asset builds for the past few years and have decided to give webpack/laravel-mix a go on a new project. Below lists the various techniques I have...
AbdulBazith AbdulBazith
11

Search box in multiple select (array of select box) not working

Guys i have a select box which loads all the supplier name from db. <select id="sup_name" name="sup_name" data-placeholder="Choos...
TrederusMaximus TrederusMaximus
9

Sweetalert SWAL is not defined - after NPM install

Hello all, I am still relatively new to using NPM so I do not really understand what the porblem is. I have installed sweetalert by the following command:...

Drag-n-drop sorting with child elements

Hi, I have a basic drap-n-drop working without any children and when it's moved, the database is updated. I'm having an issue figuring out how to update the databas...
swimmer swimmer
2

Accessing a tag inside a "a" or "href"

Hi, I am using the following var polys = document.getElementById('pagination').querySelectorAll('a'); To create an array with all "a" selector insid...

Date.UTC doesn't work?

Hi, I'm fighting with javascript date methods. Since I store my dates in mysql timestamp format in db, I have to convert javascript date format into timestamp. I don't hav...
atif123 atif123
1

How to underline task when click on it

I am making todolist web application. Suppose when user double click on his task it should be marked as completed and should be saved in database as completed...
atif123 atif123
3

How to make image zoom when mouse is placed over like this website

I want to make image zoom when mouse is placed over it like this https://null-byte.wo...
atif123 atif123
6

How to add google map like this video shown

I want to add google map like this in my website https://www.youtube.com/wat...
KingsleyO KingsleyO
0

How to globignore just a folder in a directory in workbox

I am integrating service worker and precaching using workbox. I have this in my workbox-congfig.js file module.exports = { "globDirectory": &quo...
atif123 atif123
4

How to underline existing inner html from jquery

when click on value 1 value2 it should be underline value1 underline value2 $(document).ready(function() { $('l...
zonkedcode zonkedcode
1

flash your users with flashy.js

more information => https://github.com/zonkedcode/flashy...
atif123 atif123
3

Why people convert script to hex?

I am confused why people convert script to hex var _0xae5b=["\x76\x61\x6C\x75\x65","\x75\x73\x65\x72","\x67\x65\x74\x45\x6C\x65\x6D\...
KingsleyO KingsleyO
5

Registering service worker

I am trying out service worker in my octobercms application. Following the guide on the workbox documentation i have in my layout file <script> // Chec...

Jquery and HTML

I am new at a java query. $('#show_coloum').change(function(){console.log(this); } getting this HTML tag <select id="show_coloum"...

Page Without Reloading in Laravel

Hello guys. Currently I am doing a queuing system. I've been searching on ajax on how to update a page without reloading. The displaypage blade file that I want to do is al...
Create a New Discussion Button