Category "jquery"

Navbar isn't turning red when I scroll down

I am trying to make it so when I scroll down in my webpage it will turn the navbar red. when you are at the top of the page it blends with the background but wh

Masonry JavaScript layout Disable and Reactivate problem with if

Can someone help me plz, I want to use masonry JavaScript when the screen is bigger than 800px and destroy/ disable it when screen is less than 800px. the probl

How to Move an HTML Element after another element with Javascript [closed]

I need to use Javascript or Jquery to move a div to a different place in the DOM tree. for example, I need to move shopByType after ShopBycolo

Issue on Getting PHP Generated Image By jQuery Ajax Call

Can you please take a look at this code and let me know why I am not able to get a PHP generated captcha (image) by Ajax call in jQuery? What I have in captcha.

Why does jQuery or a DOM method such as getElementById not find the element?

What are the possible reasons for document.getElementById, $("#id") or any other DOM method / jQuery selector not finding the elements? Example problems include

Wordpress ajax post filter by category/taxonomy

I want to do category base post filtering in WordPress. But I'm tired of debugging. I don't understand whether it is Ajax problem or something else. I tried man

Dynamic generated form input wit same class validation doesn't' work

I have a form that is dynamically generated on the click of add button. Say <input type="text" id="date" class="date"/> <button id="btn">Add+</bu

Dynamic generated form input wit same class validation doesn't' work

I have a form that is dynamically generated on the click of add button. Say <input type="text" id="date" class="date"/> <button id="btn">Add+</bu

textarea events not triggered upon .val()

When I run $("textarea").val("hello"); the events that Firefox developer tools (F12) reports are bound to this textarea, , are not triggered. How do I trigger

Prevent multiple events using MutationObserver

I want to track a dynamic value of an input using jquery and trigger events depending on the progression (25%, 50%, 75% and 100%). In my case, the input is a pr

I am locked zoomed out in date picker

I actually tried to restrict users to pick dates within 2 years from today in Datepicker. So now there is one issue that is coming up that when in zoom out too

How to override the existing onclick() methods of html anchor tags

In a HTML page there are couple of anchor tags with onclick() methods - of which codes I cannot or must not change. However, I can add a new js file or jQuery t

Referencing jQuery library on Google APIs and Relative path

In my Asp.Net Web Application, I have given a reference to jQuery library on Google APIs as below: <script src="https://ajax.googleapis.com/ajax/libs/jquery/

How to stop lightbox automatically submitting form

Currently the lightbox is made with .modal, this is how it should work: while submitting the form, the lightbox appears with a button asking for a higher purcha

jQuery Month picker dropdown dialog misaligned when zoomed in or zoomed out a webpage (refer the 3 images given)

Observe these three images. zoom 100% zoom 110% zoom 90% you can see it live here, just open any monthpicker dialog & perfrom zoom-in zoom-out. My questi

Insert scroll button horizontal using jQuery

I am trying to replicate this example into my own coding. The List tabs are generated dynamically using JS and each have their table (also generated using JS).

How can I select one group radio button from two groups and get the value of selected radio?

I want to select one group radio button from two groups and get the value of the selected radio in a variable and show it in another place. function uncheckRadi

Aurelia hiding/ and showing div element when button click is not working

I am trying to hide and show div element based on the button that is clicked. I used if.bind and show.bind, but neither of them is working. View: <div class=

How to crawl the content of the page?

I hope to climb this page, but I don't know why I can't climb it successfully. I see a nice Web Page, I want to get it, Facebug555 I have no Python background!

I want to upload a large file to MongoDB using jQuery

I need help to upload large zip file (compressed) and save it to my MongoDB: <form action="./uploid" method="post" id="uploadForm" enctype="multipart