jquery

Disable dates older than today in DatePicker plugin

Im using DatePicker plugin for a project. But I want to Disable dates older than today .(User couldnt select the old dates) My js is: datePickerController.createDatePicker({ formElements:{"inp1":"d-ds-m-ds-Y"} }); In manual :Both methods accept an Object that represents the dates or date ranges to disable. I couldnt disable the old da...

ipad drag and drop

Hi! I need to implement drag and drop for Ipad. I tried this solution: http://www.gotproject.com/blog/post2.html But since I am using JQuery myself, it conflicts and does not work. How can I use JQuery drag and drop for IPad? ...

jQuery slidebar for searchbox?

Hi all, I'm currently working on a search box for my site that will hopefully use a slide-bar instead of tabs to conduct the search. Users will enter a search query and instead of choosing from the conventional tabs above the box, they will have the option to search based on the position of the slider (ie. a "stronger" or "weaker" range...

Google Map iframe in jquery-ui tabs changes view.

So, i've included a simple google map in a Jquery UI tab - but when the tab is opened, the map is centered in the wrong place (not too far off, but too much to be acceptable). Whith the tabs-functinality turned off there is no such problem. Ii this a known problem? SHould I be using the google maps API instead of including an iframe? E...

Trying to reload a div with dynamic content from main page when closing a fancybox

Hello, I'm trying to reload a div on a main page when I edit the dynamic content in a fancybox. The main page is made of an included php files. I thought I would be able to reload it. I used the .load() function on the 'onClosed' element in the fancy box: $(".add_form").fancybox({ 'type' : 'iframe', 'onClosed': function() { $('.param_...

Hide the button which is available in p tag which is last of li tag.

I am placing three buttons in one li (there are 4 p tags in one li tag) of last p tag. I need to catch the last p tag's second button. Please suggest some solution to do this. ...

Passing dynamic data to controller with ASP.NET MVC and jQuery on form submit

I have a website which is basically a single page containing a bunch of dynamic content. In normal operation the user should never leave this page. To handle/report certain errors though, I need to redirect to an error page. So on the error page I want to provide a link back to the normal page which provides the app the information requi...

global custom events in jQuery

I want to use custom jQuery events independent of DOM elements, but I'm not sure what the best way is to achieve this. Here's what I started out with: // some system component registers an event handler $().bind("foo.bar", handler); // foo is my app's namespace, bar is event name // another part of the system fires off the event $().tr...

jQuery set active/hover background images

Hi All, I have a list that has 5 items in, the first one (on load) is active (with a class of 'active' added by jQuery). They all have background images associated with them. If I click any of the li's another div updates with relevant content (this is working). However I'm struggling with the following: If you click an li, update it...

Is Microsoft / Google embracing jQuery a good thing?

I love that Microsoft and Google are embracing jQuery but is this good? How can I deal with the possible problems when I code? The embracing of jQuery Is it good or bad that the likes of Microsoft and Google are embracing jQuery? In the case Microsoft & Google they are both providing free hosting on their CDNs (awesome) and in the cas...

WYSIWYG HTML editor with rel=follow/nofollow

Hi, I'm looking for an WYSIWYG HTML editor with option to set the rel atribute in links. Suggestions? ...

How to know where javascript method is defined and which method is called using firebug

How can we know which javascript method is called and where it is defined? (When methods are attached dynamically) Let us consider situation where JQuery Bind method is used to bind an event. If I see control in FireBug with FireQuery, I can see events=Object{click =} handle=function() But I don't know which method is attached with click...

What are the list of items that entering jQuery $.support into FireBug console return?

Hi, I was watching the Lullabot jQuery video and in it one of the teachers advises to use $.support command to check all of the available features that the current browser supports. So when I enter $.support into console I get this link Object { leadingWhitespace=true, more...} and when I click it FireBug opens up the DOM tab a...

I want to do a left round corner using jquery.corner()

Hello, I want only to round the left corners of a div using jquery.corner() Any ideas on getting it done. Thanks Jean ...

JQuery FCKeditor how to install?

Hi All !! i want add FCKEditor into JSP i found plugin for FCKEditor by Jquery But i was do the same guide but not work The plugin here: http://www.fyneworks.com/jquery/FCKEditor/ the following guide: http://www.fyneworks.com/jquery/FCKEditor/#tab-Usage i choose method 3 but when i view the jsP it just text area isn't FCKEditor i ...

How to Call simple WCF service using jquery or simple js

I have a very simple hello world WCF service as given below. When i call it via asp.net project by adding web service reference it works perfectly fine. But when i called it using JQury or standard js ajax call (using XMLHttpRequest) it calls back the success function but returns null data. When i tried to access it via firefox browser ...

Doing a POST from Jquery to an asp.net page and getting the values in the page

Hello I'm posting some data from Jquery using Jquery.Post() to an asp.net page. How to get the data in the POST request in asp.net page? Thank you NLV ...

jQuery wResize - resizing IE windows

Hi, I have encountered a problem with re-sizing IE windows. I have considered using a timeout event, but this isn't good enough because time may vary from one re-size to another and I'm not interested to setting a time-out to 5+ seconds. Are you aware of any alternatives to wResize jquery plugin? THank you ...

How can I deal with outdated versions of jQuery on a client site?

I've already run into clients running 1.3 code, when my work relied on 1.4's much improved features. Yet these clients don't have the resources to update their old code ... Example: The client refers to jQuery 1.3 in their site's template, but I'd really rather use 1.4 for my code and not have to try and use the older version. Any th...

get week of month using javascript / jquery

How can i get the week number of month using javascript / jquery? For ex.: First Week: 5th July, 2010. / Week Number = First monday Previous Week: 12th July, 2010. / Week Number = Second monday Current Date: 19th July, 2010. / Week Number = Third Monday Next week: 26th July, 2010. / Week Number = Last monday ...