Since I updated jQueryUI to 1.8 I found a couple of issues in our implementations and I could fix it myself without waiting for a fix on their end if I could find out how to subclass a specific method of the datepicker widget so I call the parent code and then execute my code.
I was reading on $.widget but I just can't wrap my head arou...
Hello,
I have an MVC project where I have a form with fields a user can enter and save. On that same page I have a table which shows a brief listing of information that the user just saved. The problem I am having is trying to update only the table after a save and not an entire page refresh.
Is this possible in jquery or MVC? If ...
**I'm currently using a jquery textselect plugin to fire alerts based on the selection text anywhere on the page
and it works just fine doing something like:
$(document).ready(function() {
$(document).bind('textselect', function(e) {
alert(e.text);
});
});
I've since had to add an iframe to the page and I need the te...
I have a registration form leveraging xVal to handle all validation on the form. It works really well, with one exception: the user doesn't get feedback because another element on the page (a tip telling the user that their username will be their email address) draws on top of the span element xVal spits out when it notices a problem.
I...
Hi,
I've got the following piece of Jquery:
$("#collapse-menu > li > a").click(function() {
$(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");
});
What it basically does is expands or collapses a menu of nested "lists" which contain dropdowns (simplified example):
<ul id="collapse-menu">...
In Javascript or jquery
...
Hi
I would really like to give some sortable goodness to the myriad old tables I have created.
A little work has a proof of concept behaving ok.
My one sticking point is that the placeholder does not work at all in IE 7 when using item:TR . It works OK in FF.
I can make an perform correctly. It seems to be specific to tables and ...
Hi folks,
I am using jQuery's scrollTo to make relative adjustments in the position of content inside a div.
Works fine: http://www.hmadvertising.com/test.php
However I also want to show and hide the control elements when they aren't relevant. Eg no Up button when scrollTop is zero and no down when scrollTop == scrollHeight.
The adj...
Hi,
I have a php class that generates a map image depending on my db data. It is periodically updated thru a serInterval loop.
I am trying to update it with no flickering but I just can't. I've tried different methods (preloader, imageswitcher) with no success.
//first load
function map() {
$("#map").html("<img src=map.php?randval=...
Need some help assigning a mouseover event to display some icons that start out hidden.
For every <li> in the ul, I have icons. When the user mouses over the <li> I want the span tag with a class called "icons" to be displayed. When the mouse out event occurs remove the class and/or just hide the span. The problem for me is how to as...
Hi,
I have a website which uses jquery and lots of mouseover/mouseout effect. So far I used the .bind() method of jquery but if you have >1000 event handlers, this is slowing down your browser a lot. So, I want to move to use .live or .delegate.
One part of my portal site is a chat area. User can set chat messages which will then be ...
Should I be separating my js for each page assuming there is no overlap and putting references on each page instead of having one master file? what is typical practice? thanks
...
I have been loading content with ajax and all works fine. Here is my code
$(document).ready(function() {
//Load a-z.php
//Timestamp resolves IE caching issue
var tsTimeStamp= new Date().getTime();
$.post('../../includes/categories/a-z.php',
{action: "post", time: tsTimeStamp},
function(data){
$('#moviescontainer')....
I am using jquery 1.4.2 and qtip-1.0.js
in ie/7/6/8 whenever I hover over the image on which the tooltip is applied, I get the tooltip... but I also do get the original title... does not happen on the firefox though...
Is there any option or setting specific to disable the img titl and just show the tooltip?
my code looks like this
$(...
Anyone know of a jquery plugin that can convert the contents of a select drop-down list to a multi-column panel? Ideally, I would want to also support option groups, so that all the items in a group would stay together in a single column. Here is an example of what I mean:
...
Say I have a web component that uses jQuery and I want to distribute it as a packaged component.
I need a way to ensure that the jQuery library is available on or after the page loads, but I also want to check that the containing html page, or another unknown component that may reference jQuery hasn't already added the library to the pa...
I have a menu with submenus that can be toggled (hide/show type deal).
Is there a relatively easy way to remember last state of the menu?
(I hide/show submenu when clicking on a header and change a style of the header so the background arrow will change (up/down)).
It works fine, but I'd like it to remember last state, so when user goes ...
So, it's official: I hate Internet Explorer. Yes, all bloody versions of it. :-D
So, I didn't think I was doing anything complicated here, but apparently I am. I have a bunch of list items in an unordered list styled for a navigation menu, and in Firefox, Chrome, Safari, and Opera, things work fine. What is supposed to happen is wh...
I have already implemented some AJAX pagination in my Rails app by using the example code for the will_paginate plugin--which is apparently using Prototype.
But if I wanted to switch to using jQuery for future additions, I really don't want to have the Prototype stuff sitting around too (yes, I know it's possible). I haven't written a l...
I have some content that I am loading using jquery ajax. The content has jquery plugins attached (example a modal box).
My problem is that because the ajaxed content isn't part of the original dom it hasn't had the plugins applied to it.
How do I apply the plugins to ajaxed content??? Is there someway I can reinitialize i the plugins?...