Category "jquery"

Basic Waypoint usage

I'm trying to use the Waypoints plugin for jQuery to lazy load elements on a webpage. However I can't get it to work. :( I made a very basic example: http://jsf

How to reload a div for equal height child on window resize

I wrote a script to give equal height to child elements of wrapper. It is working fine on page load, but when I resize or change the orientation of my iPad, the

Equal height items in a list

I want that all elements in a list be equal height. For this, I am using the jquery.matchHeigh plugin. However, the selected items are not being updated automat

Get the value of the radio button that was selected before the user selects a new one

If I have 3 radio buttons, is there a way through jQuery of finding out the value of the one that was selected before the user clicks a new one? <div id="r

How to change current time of a paused html5 video and start playing from that position?

I have a html 5 video on a page like this: <video preload="none" id="movie" poster="http://my_poster_url.com/sourcefile.jpeg" controls> <source i

jQuery second selector not working

I have this jQuery code that works: $('#info').on('click', '.border', function() { $(this).children(".moreinfo").slideToggle(200); }); Whe

Sequencing two action on a button click

Problem: I have a asp.net button and on click of that I am displaying another window using window.open() at the client side using <script></script>

Retrieving the <img> tag inside of cdata

I know what's the meaning of CDATA. But what I wanted for help is if someone could give me the right javascript for getting the img tag inside rrs cdata, please

How to refresh a DIV in jquery (mobile)?

UPDATE: Sorry, I accidentally copied the data-dom-cache="true" line into my content-div. Seems very logical that the app is loading from the dom instead the new

IE bug triggers click for 2 buttons?

I am trying to trigger the submit button when a user presses enter. Works great for all browsers except Internet Explorer 9. Strange thing is that IE insists on

How do I bind data for autocomple to input fields in materialize?

I'm using materialize framework for a personal project and following the documentation I was able to add the data to autocomplete my form fields. In this form,

How to wait to append the data until after the form data has been added?

When I click the #screenrId, it submits the default data without having time to add the new data the user inputs. How to wait to append the data until after the

JavaScript Form Calculation with Radio Buttons & Textboxes

The jQuery library is not importing correctly and the form is not displaying the answer in the BAC field when clicking on the button. The answer should be rela

jQuery Ajax Post with data

why it isn't working. Am trying to call a php file when onclick of a button occurs with some parameters. It is getting executed till alert statement in jsfile.j

Using jQuery one() function as a hack to prevent multiple click events from firing

I've having this weird issue where toggling the visibility of a button seems to influence how many times a click event gets called on that button. If I use: $('

Cannot trigger submit from JavaScript

I am trying to create a popup for a search box and submit the keyword with a form. I browse similar questions on the internet but the only solution I applied is

Bootstrap button text color

I am using the bootstrap 3 custom buttons but cant for some reason change the brand text colour nor the dropdown triangles. i've tried a couple of things, but s

Width of Chosen dropdowns near zero when starting in collapsed Bootstrap accordion

When a Chosen dropdown is inside a Bootstrap 3 accordion that's initially hidden, then the width of the dropdown is near zero. After expanding it looks like thi

Slick slider custom dots

I was wondering if there is a way to use custom slick slider dots. When I search, all I can finds is examples on how to change the dots into thumbnails from the

Adding event hovertext in fullcalendar

I'm trying to include a hover text on events in a month calendar page of full calendar. I have and array object declaring the events that need to be on the pag