Blog
- jQuery datepicker disabled weekday
-
There is another custom setting for jQuery datapicker. Here we have discuss about how to disabled any weekday in jQuery datepicker. As you know in today's era jQuery become more and more popular and why not? It should be because jQuery does our work very easy. Recently, in our one of the project need to give date field value in one of the form. In this form date calculate dynamic with exclude weekend days (Saturday and Sunday) as per client timeline setting but client also wants their employee also change date value manually. Now what, we need to give datepicker to the text field and as we love jQuery so of course we use jQuery datepicker and see there is no default function to handle disabled weekday. We know there is a function to handle custom setting before show datapicker and before show day. i.e. there are two different function beforeShow, beforeShowDay. beforeShow function uses when you want to set before showing datepicker and beforeShowDay function uses when you want to apply setting before load each day. So we use beforeShowDay function to disabled day. It's very simple and short code for disabling weekday. Let's understand by example.
- Read More
- By Bharat Patel
- Comments(0)
- Show tooltip when input element get focus
Hello Friends,
Recently I am working on one of the project, and inside it we want functionality to show a hint tooltip box (show information related to that field) when that input element get focus.
I use clueTip (a jQuery tooltip plugin) to show hint tooltip box.
- Read More
- By Mahavir Dhruv
- Comments(0)
- December 30, 2011
- Passing additional data to CALLBACK function of jQuery.ajax
Now a days we can not imagine web application with AJAX and jQuery make stuff lot easier to us. We normally need to use ajax call to update web content asyncronously. $.ajax is really simple to use, well I haven't write this post to advertise $.ajax but to explain how we can pass our custom arguments to its callback function.
$.ajax callback function have three default parameter 1. Content 2.Status 3. HTTPResponse object and in most of the case this are enough information in case you want to alert user or display message on particular dom object.
- Read More
- Comments(0)
- June 10, 2011
- Enable/disable link button in jquery Mobile
Hi,
I am developing mobile application, where I use jquery Mobile.
Buttons can be created by input tag, button tag and even link tag. See examples:- Read More
- By Vikas
- Comments(0)
- June 9, 2011
- Scroll to UI element in jquery mobile framework
Hi,
I am using jquery mobile framework for last couple of weeks.
Recently it was required to scroll a page to my listview item.
Jquery mobile has a method called $.mobile.silentScroll().
- Read More
- By Vikas
- Comments(2)
- April 22, 2011
- jQuery multiple selection
Hello Friends, Today, I am very glad to announce finally I have made jQuery multi selection plug-in. I am really thankful to my one of friend who gives me such a nice idea and also thanks to Mr. Pritesh Patel who provides guideline to do better. Now, in your mind one question arise. What is jQuery multi selection plug-in? jQuery multi selection plug-in is such a very useful plug-in and simple to use. Features of jQuery Multi Selection Plug-in: It's fully ajax base. ...
- Read More
- By Bharat Patel
- Comments(2)
- April 13, 2011
- Mobile theme and theme switcher for Mango Blog.
Since couple of days I was reviewing jQuery Mobile and really impress with work it make it easy for us. Now it was time to create practical implementation of it. Since long time I was looking for mobile theme for our blog but didn't find any and I believe it is because of Mango Blog doesn't allow us to switch theme (skin) on request also looking into code I realise that all skin related information stored at Application level and changing for any visitor will affect everyone who visit blog.
To make Mango blog for mobile device compatible I created one theme using jQuery Mobile and plugin to change theme whenever request come from mobile device.
- Read More
- Comments(1)
- November 20, 2010
- jQuery Enable/Disable Specific date
Hello Friends,
In web application most of people use jQuery, jQuery UI and jQuery Plug-ins. Why not? First of all it's free and it reduces no. of code. Any way what i want to say is today one of my client wanted to download data according to date. i.e. Data generated on specific date. Date will be increase day by day so I thought what I need to do? Suddenly, there is a click in mind jQuery UI Datepicker has ability to enable/disable date so I just googled for that and got the code. I really thank TutorBoy.com as they have done this beauty of a code. Let's see below code how to enable/disable date using jQuery UI datepicker. I hope it may be helpful for you.- Read More
- By Bharat Patel
- Comments(2)
- June 2, 2010
- New method Passing Attributes to jQuery 14
Hello Friends, jQuery supports adding attributes to collection of elements with Attr function. Previously if we wanted to add stylesheet then we had to apply CSS function similar to event handling. But jQuery 1.4 introduced new method for adding attributes, stylesheet, event handling , etc. There is no need to add attr, css, bind or etc function for handling the element. We can write directly with element. We can use old method also. Please refer below example for better understanding. ...
- Read More
- By Bharat Patel
- Comments(0)
- May 28, 2010
- jQuery code and syntax guidelines for improved code performance
f you want to publish your jQuery plugins following jQuery core code writing guidelines is a good idea. Here are some of the guidelines ...
- Read More
- Comments(0)