jquery

Jquery/php/taconite radio buttons

I am new to Jquery and taconite I want to have a page that does the following It has multiple panels the first contains search criteria to submit a request to a mysql database The second panel contains the results of the search I would like to use radio buttons on the second panel to get more specific details from the data base and disp...

How can I set default today date using datepicker with jQuery?

I am using the jQuery datepicker(http://keith-wood.name/datepick.html) and I would like to set today's date on the calendar to a date of my choosing that never changes rather than take the system date as today's date. How can I set that up? ...

change column header text on a JQuery Flexigrid?

I have a jquery flexigrid that I'm dynamically changing so that it displays different tabular data. I want, along with changing the data source (via the 'url' which I'm doing successfully), to change the table column header text but can't quite figure out how to do so. So, for example, I want one flexigrid table to display the 'employee...

How do I show a scrollable list in jQuery Dialog?

How do I show a scrollable list in jQuery Dialog? ...

jQuery fade in/out on mouseover?

Hi, I have links in the following structure and I would like to know what the jQuery/css should be to hide the <img /> tags and fade them in on mouseover. The idea here is that the HTML <img> is hidden and fades in on mouseover to provide a smooth effect. Meanwhile a CSS background shows in the beginning. HTML: <div id="nav"> ...

jQuery.validator cannot assign default ignore selector to jQuery.validator.defaults.ignore

I know from here that I can pass an ignore option in the jQuery.validate method like this... $('form').validate({ ignore: ":hidden" }); ... which works fine, but I wanted to set the validator to ignore ":hidden" form fields by default... I've tried the following: jQuery.validator.defaults.ignore.push(":hidden"); ... but it does...

Jquery: basic function of datetimepicker .......Problem

Hi.... I want make datetimepicker in my project. Using jquery how it is possible? I have one text box, div and calendar. Once i focus on textbox, the calendar div gets fadein. Some way what i want to do is this: Once i click on calender the selected value should show in textbox and calender should hide. How? Here is the code so far...

How to get the selected Date from the calendar control ?

Hai , I am creating a DatetimePicker User control. I just want to know how to get the selected date of the calendar (asp.net control) control using jQuery. I used this code, but it's wrong. $(document).ready(function() { $(".UserCalender").click(function () { var a = $('.CalenderDiv:selected').text(); alert(a); ...

Why isn't jQuery automatically appending the JSONP callback?

The $.getJSON() documentation states: If the specified URL is on a remote server, the request is treated as JSONP instead. See the discussion of the jsonp data type in $.ajax() for more details. The $.ajax() documentation for the jsonp data type states (emphasis mine): Loads in a JSON block using JSONP. Will add an extra "?call...

How distinguish refresh and close event using jQuery ?

Possible Duplicate: Is there a way in javascript to detect if the unload event is caused via a refresh, the back button, or closing the browser? Hi all I have the below set of code $(window).unload( function() { test(); }); the test() will call when i close the window and also if i refresh the window ..... How can ide...

select by id in jquery

as all you know $("#ID") returns the element having ID. but this code always return even there's no element. alert($("#htrBuyerCouponNotice")); alert(document.getElementById("htrBuyerConponNotice")); in this case. those two line results are diffrent. I want to check whether there is an element has htrBuyerCouponNotice. do...

Using nested error wrappers with jQuery validate plugin

I am using the jQuery validate plugin. My error labels are styled like tooltips and take many levels of nested divs in order to create. The plugin has a wrapper option that allows for an element type to be specified as a wrapper for the error message, but it's only wrapped once. Is anyone familiar with how to do nested wrapping? This i...

how to hold(and show) the current 'a' element when you put 'history.back()' that you clicked just a moment ago

in this page http://api.jquery.com/category/effects/ when you put 'up'(keyboard) and 'down',then put 'enter',it will go to the current url, and when you put 'backspace' it will always show the same 'li' element you put 'enter'. how to set this. this is my code: shortcut.add("up",function(e) { var a=$('#start ...

Why is the return false stopping the alert?

Why does the return false stop the alert() from working and how do I get around this? If I remove it, the alert will show up, and then it will load the page that the <a> tag pointed to. <script type="text/javascript"> $("document").ready(function(){ $("a").click(function(){ if(!$(this).is('static')){ ...

the 'Color Animations plugin' doesn't wokr on webkit(safari chrome)

the Color Animations doesn't wokr on webkit(safari chrome) http://plugins.jquery.com/project/color <script type="text/javascript" src="jquery.color.js">s</script> $('#start').animate({ 'backgroundColor':'yellow' }, 1000,'linear', function() { }) it is works well on firefox why ? thanks the answer is background,look next ...

Strips Menu With JQuery

Hello, First of all, I am not an advanced JQuery developer, however, I have been creating what I call Strips Menu with JQuery, you can see it here by clicking the Preview link on top: http://jsbin.com/uwopu3/edit When I click on a strip, it promptly shows the contents relevant to hovered strip but I need sliding effect something that ...

My inputs wont let me move the cursor with the keyboard?

This is a wierd one, both inputs and text areas, cant move through the text with the left and right arrows? there's lots of javascript/jquery on the page so it's likely a plugin is overriding, but thought i'd see if anyone's ever had a similar experience or got any pointers before i wade through mountains of code! ...

How to create a MLM chart using PHP/HTML

Is there any way to create MLM Tree (i.e. not binary tree) in HTML/jQuery/CSS. Below is the result set I have to generate the MLM Tree with. id username parent_id level 2 bhupinder 1 1 6 nokia 2 2 9 testbhupinder02 2 2 10 InvitationNokia 6 3 8 testbhupinder 6...

Problem with background color on li tag

I am setting background color of an li element by the code below : $('#li123').animate({ backgroundColor: color}, 'slow'); It works fine but the color spans whole length of li. What do I do if I want it to span the text contained in the li only. ...

ASP.NET MVC jQuery on IIS 6.0

Hi everyone, I have big problem with deployment of asp.net mvc application on iis 6.0, i configured aspnet_isapi.dll, and the routing works fine, but json and jquery doesn't work. Any ideas? ...