Datepicker not excluding weekends as it should be
Hello, I'm using the jQuery ui datepicker and it's supposed to be excluding weekends but doesn't seem to be doing that. Please help. Thanks! Susan //datepicker var natDays = [ [1, 1, 'New Year'], //2014 [1, 20, 'Martin Luther King'], //2014 [2, 17, 'Washingtons Birthday'], //2014 [5, 26, 'Memorial Day'], //2014 [7, 4, 'Independence Day'], //2014 [9, 1, 'Labour Day'], //2014 [10, 14, 'Columbus Day'], //2013 [11, 11, 'Veterans Day'], //2013 [11, 28, 'Thanksgiving
datepicker date text
Hi, I have the following code for the datepicker: function setDeliveryDate(date) { $('#delivery-date').text($.datepicker.formatDate('DD, MM d, yy', date)); $('#datepicker3').text($.datepicker.formatDate('DD, MM d, yy', AddBusinessDays(date, -1))); $('#datepicker2').text($.datepicker.formatDate('DD, MM d, yy', AddBusinessDays(date, -2))); } setDeliveryDate(AddBusinessDays(dateMin, 4)); $.datepicker.setDefaults({ beforeShowDay: noWeekendsOrHolidays, showOn: 'both',
simultaneous fadeOut() and slideUp()
I am trying to develop a function to simultaneously fade elements out and slide them up. The following attempt doesn't work. It applies the animations sequentially. How can I fix it? Bill /****************************************************************************** .slideFadeOut() ******************************************************************************/ (function($) { $.fn.slideFadeOut = function() { this. queue('fx2', function() { $(this).slideUp({duration: 2000});
How to properly hook up my Dropit dropdown menu.
Hi Everyone, I am very new to jquery and I have a few questions. I am using Dropit http://dev7studios.com/dropit/ to create a drop down menu that will allow my users to click on an option and go straight to the page they need to go to. My question is how do I incorporate the onclick and where do I put it in the code to make that work? Also, do I just add the dropit style.css to my current website css file? Thank you so much!
jQuery plugin not processing disabled property on option tags
My .net website is using a jQuery plugin; I have the following code on a simple .aspx page: <select id="Select2" name="categoryFilter"> <option class="inactiveLabel" value="A" disabled="disabled">A</option> <option value="x">x</option> <option class="inactiveLabel" value="B" disabled="disabled">B</option> <option value="y">y</option> <option class="inactiveLabel" value="C" disabled="disabled">C</option> <option value="z">z</option> <option class="inactiveLabel" value="D" disabled="disabled">D</option>
Wordpress Flipper Jquery plugin: do Autoplay
I have a .js plugin called flipper that creates a book style animation in Javascript at the bottom of the page. http://archibaldbutler.com/projects/williamsmurrayhamm/designvertising/ I would like the plugin to autoplay/"Autoflip" every 5 seconds when the page is loaded. Here is the .js script. http://archibaldbutler.com/projects/williamsmurrayhamm/wp-content/plugins/flipper/js/flipper.min.js Can someone point me in the right direction please? I am trying to learn Javascript but struggling! Thanks
Need a plugin to split a word and align to the container
I need a plugin the split the word and make each character align to the container equally
Jreject can't seem to get it to work at all
Hello - I have just recently implemented the jreject plugin. We have a website that doesn't work on older browser versions like IE 6 and 7. Also a couple of older Firefox versions. I really like how this plugin works and looks but I can't get it work on my own site. This is the page i have it implemented on: http://www.bkd.com/wealth-advisors/index-test.htm <script src="http://code.jquery.com/jquery-1.7.2.js" type="text/javascript"></script> <script src="/wealth-advisors/js/jquery.reject.js"
CLEditor plugin too many buttons
I have a site that will need a text editor in multiple areas. The first place I used CLEditor shows exactly the buttons that I have set up in the document ready function. The next area (a popup from the first area) that I have CLEditor, I get the buttons listed at least 3 times. I'm using the same setup code for the second as the first, except I change the name of the textarea in the javascript setup code and the html. I tried removing cleditor from the first area but that didn't remove the extra
Using jQuery Coockie
hello http://plugins.jquery.com/cookie/ Can someone make me a simple example ? I have a navigation bar that I made it with a fixed position. I want to put a button on the navigation bar can be hidden away or small So far no problem. The following effects can be used : .css .animate But I Want to using jQuery cookie plugin to save these changes to the page. When the page is refreshed and the cookie will persist the changes. I hope you understand me And you can help me Thank
How to validate Area (square meters) from two inputs?
I posted to StackOverflow.com, if anyone gracious enough to take a look at my problem? StackOverflow.com Question - How to validate Area? I have a simple working version at jsfiddle : Validate Area I have two inputs for width and height. One of the conditions require that I validate a range between 1 - 3000 millimetre for both the width and height. But I need to validate for actual square meter as well (width x height) to not exceed 4 square meters. (ie. 1.2m(w) x 3m(h) = 3.6m2) Thanks!
listnav -- no selection to start
I am using http://www.ihwy.com/labs/jquery-listnav-plugin/ I don't want any of the tabs to be selected when the page loads. right now it always shows the values in the first tab that has entries. i only want to show values in a tab when the tab is clicked.
Implementing a simple blockUI example in an existing page.
I'm new to jQuery and have been playing around with some of the blockUI plugin samples trying to get one of them to work in an existing project. If I paste the code below just below the <body> it works as expected. I have a standard button control (btnNext) within a view within a multiview that'd I'd like to blockUI on click event, so I change $('#demo3').click(function() to $('#btnNext').click(function() but get "JavaScript runtime error: Object doesn't support property or method 'blockUI'."
listnav on mobile
I was just introduced to listnav: http://www.ihwy.com/labs/jquery-listnav-plugin/ It does not say that it supports mobile devices/browsers, but it seems to work pretty well. The major issue with mobile support is smartphones being narrow. Showing 26 letters worth of tabs is too wide for a smartphone. Is there anyway to have the tabs "wrap" around, so instead of the following all on one line: A B C D E F G H I J K L M N O ... it could look like this: A B C D E F G H I J K L M N O P Q R S T U V
jQuery validation plugin: 'required' not working
So I've downloaded the jquery validation plugin (http://jqueryvalidation.org/) but the ability to make a field 'required' doesnt work. Or rather, it only works half. If I make a field required and I click on it and then click away it properly makes the field red as if to show that it needs to be filled in. But if I click submit it doesnt give an error message, which it should. Which is completely weird because for the 'minlength' validation rule it works fine on submit. Here's the html for the field
problem in frontire calendar
Hi, I am Using Jquery frontire calender, i am facing two problems. plz help me on those.. 1) I am doing add/update/delete event operation on the calender, in firefox . If i keep the page inactive for 1 min then the dialogue box is not responding. 2) Data displayed on the particular date box, but if i scroll the page then data is fixed and date is mooving. plz help me on that.. Thanks, Pratap
cannot update jquery-timepicker data
I am just using time picker from https://github.com/jonthornton/jquery-timepicker , and using DisableTimeRanges feature to pickup valid time range from some date. My idea is when user selects a date, then update Disable Time Ranges on time field with ajax. The problem is time field can only display first time range data from server, and cannot refresh updated data from server. my code: $('#dateStart').on('change', function () { $.ajax({ url: "/showStartTime", dataType: 'text', contentType: "text/plain;
Dynamic ovelay with jQuery
Hi everybody, I need some help because I modified a jQuery plugin I found on the Internet, and it works as it should, but I noticed a problem, that's the plugin correctly opens a window to show a warning for the users that want to register in my website, but this window always appears every time the page is reloaded, that's to say when the user who's trying to fill in the fields of my form, makes a mistake and he sends out the form. The page is reloaded and I show him the mistake he made ( I control
how to bind the data returned by json to jquery gridview in asp.net?
How can i bind the data returned by json object d to jquery grid ? I have tried using asp.net gridview but failed. I have seen some links of jquery grid but no source code is available in my aspx this is what i have done: function get(strcode) { $.ajax({ type: "POST", url: "Default.aspx/MyMethod", data: "{'Code':'" + strcode + "'}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (result) { // Here i want to bind the gridview to the values contained in d //also
Help on jquery navigation plugin
Hi all, I need help with jquery navigation plugin ( https://github.com/dansdom/plugins-navigation ) by Daniel Thomson. Its a wonderful tool and I modified it to an extent where it suits my requirements. But how can I do these two things, A. I have positioned it at the bottom of the screen and I want the submenus to shot up and not drop down when the mouse hovers over it. B. Can each menu calculate its width and take that much space? I did this by creating separate ul ids for each but is this the
How to hide week ends in calendar Team work Gantt
Hi, I working the Teamwork Gantt how to hide week ends in popup calendar. regards, kathir
scrollable get current value of item
i have a working sample of scroll-able with item number 1 - 24 i want to get the value of the current item but i failed.exmaple the value is 1 then i scroll one so its 2 now i want to get the value of 2.i tried doing it to alert but its not working how does one do it this is my code. scroll <!DOCTYPE html> <html> <title>scroll</title> <!-- include the Tools --> <script src="http://cdn.jquerytools.org/1.2.6/full/jquery.tools.min.js"></script> <style type="text/css"> /* root element for scrollable
This error is blowing my mind
I can't work out what's wrong. If anyone can help me it would be amazing. This slider breaks in iOS Safari, iOS Chrome and Safari 7. http://box.james-veitch.com/this-weeks-menu/ Any ideas?
Plug in Recomendation For Large Image Galleries
Hello, I am having an issue at my site www.FiretrucksUnlimited.com. We host many images and currently use the next gen gallery which is causing problems due to the long load times for our 100+ image galleries. I would like to know what is the best plug in to use for the image galleries. The plug in needs to bemobile responsive, touch friendly, ideally has filmstrip but slideshow only is ok, loads images on demand, and is lightweight. Thanks!
How to display submit success message while using jquery.form.js?
Please tell me how to display submit success message after using $('#form_name).ajaxForm( { beforeSubmit: validate } ) to first validate and then submit a form while using jquery.form.js
problems with ajax and functions in an ajaxForm submit
I am using ajaxForm() to show completion percent during a submit that can be either an original submit or and update/edit submit to an existing post. A user should be able to edit their content in a database row in a later session, after the original submit. If a variable (coming from the database) has content, the update/edit branch is activated to submit the edited post back into the same database row. Highly summarized, this code both submits and does an update/edit to an existing post in a database
[jQuery] Tablesorter filter widget and td width using Chrome
When a table is less than 100% of page width, and the filter widget is active with Tablesorter, Chrome browser expands each td tag so that the table fills the full page width. Internet Explore and Firefox displays correctly. When I hide the filter row, Chrome shows the table correctly respecting the td widths. I don't see where I can work around this. I have the WidgetOptions set to hide the filter when not active: filter_hideFilters : true If I set it to false, tables in Chrome will permanently
submitHandler
Hi, I am new to jquery and I am editing a website form. In the form it has something like this var handleRegister = function () { .... ... ... $('.register-form').validate({ errorElement: 'span', //default input error message container errorClass: 'help-block', // default input error message class focusInvalid: false, // do not focus the last invalid input ignore: "", rules: { fullname: {
How do we jquery.suggest plugin with tokeninput plugin
Hi, I am trying to implement search. When user enter any text should show suggestions. Here all suggestions are keys, user can enter values for these keys, key-value pair is separated by colon. Eg: Key1: value1, key2: value2 where Key1 and Key2 are suggestions in the list value1 and value2 entered by user. If it is possible can you suggest me please. Thanks in advance. Shiva
Hidden True attribute makes subgrid misalligned
Hi I am using jqgrid and have one issue in sub grid. When i added the attribute hidden:true for the Id field my subgrid becomes unordered and the header and the columns and not alligned properly. This is my Code: var colNames = [ '','Product Name', 'Product Type', 'Product Subtype', 'Manufacturer', 'Status']; var colModels =[{name : 'productId',index : 'productId',hidden:true}, {name : 'productName',index : 'productName', align:"left"},
Tablesorter - sorting not happening
Hi I'm new to jquery and am looking for some advice. I found some sample code, uploaded it to my site and got it working fine, so pretty content that the path to the jquery is working fine. I've since tried substituting my own table into the code instead, which has stopped the sorting from working correctly. The main difference that I can see is that the contents of my table is being pulled from a database. Output: http://www.arabianraceform.co.uk/form/horses/00001test.php Page code: <?php
Remove multiple filter/sort mixitup jquery plugin
I'm trying to remove the multiple filter in "mixitup" jquery plugin. I just want the plugin to only select one value instead of selecting multiple values. Here is my work in progress http://digitalspin.ph/federalland/project-page/ Here is the **MARKUP CODE -** <div class="group" id="Filters"> <div class="drop_down wf"> <span class="anim150">Location</span> <ul class="anim250"> <li class="active" data-filter="all" data-dimension="location">All</li>
using JQuery plugin(noty)
Hello everyone, I am very beginner particularly in world of JQeury. I am trying to implement some customized alerts in my ASP.NET web application.For that i have decided to use noty:http://needim.github.io/noty/#creating-a-noty I have included files in my webpage as follows: <script src="http://code.jquery.com/jquery-2.0.0.js"></script> <script src="http://code.jquery.com/jquery-migrate-1.1.1.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
Errors with multiple libraries. Any advice?
I have read multiple stack questions on this topic, and have spent many hours researching a solution to this problem. I had all but one of my form field validations working with parsley js, and had posted a topic about getting it to work with no answer in sight. I have since changed over to the jquery validation library to attempt to solve a conflicting libraries problem. I have implemented the noconflict mode (I have tried at least 5 variations of this code to attempt to eliminate errors) with no
Datepicker not working on specific page
Hello! I'm using the jQuery ui datepicker on a few different pages and it's working perfectly on all but one. I set up two datepickers on the same page, one on the main page area which is working with no issues at all. The second is on a modal and is the one I'm having issues with. Initially the datepicker wasn't populating at all so I had to force it with an inline onclick. Now it's populating but isn't reflecting my minDate or any other functions,...basically not picking up any of the script at
How to adjust auto slide for DIY Slider?
The following slider has an auto slide option which is linear and does not halt for any frame. Is it possible to modify it to hold for a brief period of time for each frame. Also the auto-slide never ends.Could it be possible to make it stop once some one hovers over the slide/ presses any of the buttons - Prev/Next. Sample JsFiddle @http://jsfiddle.net/pioul/7Yf34/ Please help. Thanks. All credits for the Slider goes to PHILIPPE MASSET@http://pioul.fr/jquery-diyslider.
Sliding out a dropdown after lavalamp stop
www.drippro.com/index.html As you see, I am implementing lava lamp navigation into bootstrap 3 and i already find a way to open a dropdown by hovering instead of clicking. And i want it toanimate it as i animated in gif picture but i couldnt work slide up/down after lava lamp position is set. http://imgur.com/5uOTq68 I am not good in javascript/jquery but i wanna do it as i imagine.I need your help.
Does google js api make XHR?
I originally posted in jquery but then realized I put in the wrong forum. I am trying to deconstruct an autocomplete that someone else wrote who is even more clueless than me. She basically did a cut and paste of an example she found somewhere and it worked. This example uses google apis, so I am trying to find out if google api makes the XHR or what is going on because I want local copies of jquery, ui, etc. Let me show you the code and please if there is a brief explanation as to why it would work
jQuery performance and data load
I am using spservices and datatables in Sharepoint. I was looking for advice. I am having form in one div and in another div I am datatables data. I will hide and show div as per the logic. Now my question is doing hide div will still keep data in the div and make my page heavy or it will get data when I make my div to show.
Jquery Tabs and Reveal Modal conflict!
First, I am a newbie and not a coder so apologies in advance. I have implemented the Jquery Tools tabs (jquerytools.org/demos/tabs/index.html) on my page and it works as expected. I can tab back and forth without issue. I have since added the reveal Jquery Modal plugin (zurb.com/playground/reveal-modal-plugin) to links inside each of the tabs. When I load the page, I can go to any one tab and click a link in that tab and the modal will work perfectly. the problem is, when I then click on ANY other
Next Page