How to use jQuery UI Calendar/Date PIcker for week rather than day?

I've been using the jQuery UI Calendar / Date Picker with great success over the last couple months. I've been given a new requirement to allow for a week to be selected (Sun - Sat) rather than a...

How to get href value using jQuery?

I'm trying to get href value using jQuery: <html> <head> <title>Jquery Test</title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> ...

Detect when window vertical scrollbar appears

Is there a simple and reliable solution for detecting window vertical scrollbar appears/disappears? window.onresize isn't triggered when after JavaScript DOM manipulation page becomes high enough...

jQuery Button.click() event is triggered twice

I have the following problem with this code: <button id="delete">Remove items</button> $("#delete").button({ icons: { primary: 'ui-icon-trash' } }).click(function() { ...

Refresh ads after a jQuery action?

*FYI: I'm not using Adsense and this is not against my TOS... I have pages that display jQuery slideshows. I used to create the slideshows in html and so every slide change would be a pageview. ...

Convert numbers to letters beyond the 26 character alphabet

I'm creating some client side functions for a mappable spreadsheet export feature. I'm using jQuery to manage the sort order of the columns, but each column is ordered like an Excel spreadsheet...

Append a param onto the current URL

I'd like to have a little easter egg button in the corner of a project site. When clicked, it just drops a string onto the current url and reloads the page. So if I'm...

How to get the number of pages of a .PDF uploaded by user?

I have a file input, and before "uploading" i need to calculate the number of pages of that .pdf in JAVASCRIPT (eg. JQuery...)

Timestamp AJAX URL

Below is the code I'm using for jQuery BBQ. $(function(){ var cache = { '': $('.content') }; $(window).bind( 'hashchange', function(e) { var url = $.param.fragment(); $( '.contentarea'...

Convert returned JSON Object Properties to (lower first) camelCase

I have JSON returned from an API like so: Contacts: [{ GivenName: "Matt", FamilyName: "Berry" }] To keep this consistent with my code style (camelCase - lower case first letter) I want to...

change event on <select> Meteor.js

I know that Meteor supports events and I have seen it in action on checkboxes, but I just wanted someone to be able clarify if we can hook change events in meteor on select dropdowns as like the...

Wordpress theme: The font awesome icons not displayed

I have a wordpress theme and i wand to add genericons. My problem is genericons not displayed in any browser: This is my theme files tree: This is the genericon.css...

Bootstrap-select plugin: how to avoid flickering

The Bootsrap-select plugin is amazing (http://silviomoreto.github.io/bootstrap-select/). It provides an extremely easy way of creating gorgeous select menus in Bootstrap. The one problem I've...

Hide multiple divs until individual links are mouseover then show each

I have the following HTML code... <div class="circles"> <ul> <li><a id="links" href="#" class="first links">Supply Chain</a></li> <li><a id="links" href="#"...

How to edit data in mysql through a modal

I've been having errors with this code. I'm new to bootstrap and using modals for things. I used to run off child forms for all my 'fancy' forms but now I'm doing a move towards modals. This is my...

How to use Paper.js on dynamically created canvas?

I have multiple canvas images on my page and I am trying to get the canvas id using Paper.js after the mousedown event on a single image through jQuery. My image disappears after a mouse click and...

Laravel csrf token mismatch for ajax POST Request

I am trying to delete data from database via ajax. HTML: @foreach($a as $lis) //some code <a href="#" class="delteadd" id="{{$lis['id']}}">Delete</a> //click action perform on this link ...

Appending parameter to URL without refresh

I know this has been asked many times before but answers were not descriptive enough to solve my problem. I don't want to change the whole URL of page. I want to append a parameter &item=brand on...

Hiding Password field content from users

I'd like to know if its possible for me to do something from the following : Replace the source code visible in view source , with an image , or nothing at all. Hide the value attribute of <inpt...

$.removeCookie is not deleting cookie in Chrome

$.removeCookie is not deleting cookie in Chrome. Please refer the below attachment of screenshot. The screenshot is taken from the Chrome settings -> All Cookie and site data. The above...

Foundation 6 - jQuery - scrollTop not working for mobile

in Foundation 6, jQuery scrollTop not working for mobile: var hpSecondSection = $('#hp-section-2'), fixedTopBar = $('#header-top-bar'); $('.scroll-down-bar').click(function() { $('html,...

Bootstrap accordion, scroll to top of active (open) accordion on click?

I'm making a responsive site using Bootstrap and it contains accordions with a large amount of text, when you read to the bottom and click the next accordion, the large amount of text is collapsed...

custom styling button remove dropzone

How to style remove file in dropzone. I only need to edit the remove button. The default code in Dropzone.js is like this: Dropzone.prototype.defaultOptions = { dictRemoveFile: "Remove...

Timer is not triggering after one minute using jQuery or give some other solution to trigger function after every 1 min?

var setTimer; var isTimeSet = false; if (!isTimeSet) { setTimer = $('#hdn_timerTime').val(); isTimeSet = true; } initialTimer(); function initialTimer() { var...

How to display selected text of multiselect dropdown in label using jquery?

I am using Bootstrap Multiselect dropdown. I want to display selected text in label. If I unselect the element should remove from label. When I select this element should display in label, Code...

Move checkboxes on checked jQuery

I want to move the checkboxes if they are checked. <div id="chkboxes"> <input type="checkbox" name="city" id="1"/> One <br /> <input type="checkbox" name="city" id="2"/> Two <br /> <input...

Adding css when form submitted javascript

I want to add css to a class when my form is submitted because it take long time, but nothing change! here is my form <form method="post" class="std" enctype="multipart/form-data"> <button...

Refresh table onclick with jquery in mvc

I have a table in my View. I've added a datepicker in my View, which posts the two selected dates into my Controller (dateFrom and dateTo). I then compare the dates of my objects and pass them...

Interact.js resizable and draggable not working together

I have created a fiddle of how my script looks: https://jsfiddle.net/xpvt214o/701253/ This is my code: HTML: <div id="_idContainer011" class="tabcontent" data-layer-id="35" data-locked="0"...

Control whether a link is clickable or not

I want to control whether a link is clickable or an error should be displayed (Based on result of an ajax call). <a class="lnkCustomer" href="http://localhost/viewcustomer" target="_blank"...