Category "jquery"

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

Disallow Twitter Bootstrap modal window from closing

I am creating a modal window using Twitter Bootstrap. The default behavior is if you click outside the modal area, the modal will automatically close. I would l

JavaScript runs in Firefox, but not IE or Chrome?

I have the following JavaScript in my site : $(function() { var $cells = $("td"); $("#search").keyup(function() { var val = $.trim(this.value)

How to enable CORS in flask

I am trying to make a cross origin request using jquery but it keeps being reject with the message XMLHttpRequest cannot load http://... No 'Access-Control

jQuery Autocomplete select: function not working

This seems so simple, yet I cannot seem to get it to work: var options, a; jQuery(function(){ options = { serviceUrl:'ajax/parts_by_partno.php', select