[jQuery] Ajax link in docs for 1.2 crashes IE6

2007-09-12 Thread Eric Crull
Going through the Jquery 1.2 release notes using IE6 I couldn't even access the page on Ajax. Everytime I clicked the Ajax Link, the browser folded like a house of cards. A second problem exists under clone(true) found in the Manipulation link. The documentation indicates that each cloned butt

[jQuery] Re: copy highlighted from a div

2007-07-16 Thread Eric Crull
Not Jquery but this works: function copyToClipBoard(){var clipBoard = oInputElement.createTextRange(); clipBoard.execCommand("Copy");} and its companion, in VBscript. On Jul 16, 4:37 am, ViK <[EMAIL PROTECTED]> wrote: > hi all > > I need to copy to clipboard a highlighted text selected from a

[jQuery] Re: Possible idea regarding $() and multiple selectors via add()

2007-07-13 Thread Eric Crull
$("#foo, #bar") works in the same way you want $("#foo","#bar") to work. On Jul 13, 6:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > So basically, would it be practical to code the $() selector function > in jquery to allow multiple selectors, instead of having to add them > afterwards?

[jQuery] Re: Slow plugin scripts -- any way to speed them up?

2007-07-13 Thread Eric Crull
Maybe you could attach to the click event for the table (one attachment instead of hundreds) and then filter the event to see what row is being acted on. look at this thread for inspiration: http://groups.google.com/group/jquery-en/browse_thread/thread/bc8ad59bce66b658 On Jul 12, 9:27 pm, Kim J

[jQuery] Re: ajax api question

2007-07-11 Thread Eric Crull
The first example is a closure. It only operates when the $.post function is completed. If you just tried to use the alert(data) as you have in the second example it would execute right away. A closure is the equivalent to burying a time-capsule in the ground to be dug up later. You could leav

[jQuery] Re: Getting the next span

2007-07-09 Thread Eric Crull
I use this logic to get the next input, and to search for the next input if there were intervening elements, for example: / The function will iterate through until it finds the next input, even if it is not the next element: function tabOver(ele) { var possInput = $(el

[jQuery] maskedinput multiple mask characters not working

2007-07-09 Thread Eric Crull
When using the maskedinput plugin, using single masked character works fine: $("#date").mask("99/99/"); //the "/" are mask characters and are ignored by the plugin. and double mask characters work fine at the end of the input: $("input.childAge").mask("99Y 99Mo"); //also works fine. But whe

[jQuery] Re: Creating a button like this, using jquery?

2007-07-07 Thread Eric Crull
I'm not sure what you're asking...The most obvious button on Jyte is the Green/Red thumbs up/thumbs down button, which changes when the user hovers his mouse over it. So if you're asking how do you make the color change from grey to green or grey to red, you could use hover and addclass: $("div.

[jQuery] Re: load function then slide

2007-07-07 Thread Eric Crull
Try looking at this, maybe it will be useful: http://www.nabble.com/jQuery-1.1.3-and-easing-plugin-t4012212s15494.html On Jul 6, 1:17 pm, jsteidl <[EMAIL PROTECTED]> wrote: > This has worked in the past, but now I am trying with the new version > of jquery and the easing plugin. > > I want my ht

[jQuery] Re: Can't get hover event to work properly in IE6

2007-07-05 Thread Eric Crull
Try Brian Cherne's plugin hoverIntent. Jquery hover is firing for every element your mouse is moving over. I had the same problem and switched and it works nicely. FYI, I set the timeout for 300 and added a callback to the out function: function(){$("#menuCup1:visible").hide(). You may not nee

[jQuery] Re: thickbox onload

2007-07-04 Thread Eric Crull
In another thread Felix Geisendorfer published a little plugin that he uses to rebind thickbox after the document has finished loading. The line below starting "tb_show" calls the thickbox. I'm sure you could easily use this as a starting point. Here's the original thread: http://groups.google.

[jQuery] Re: .fadeOut In mutiple elements don't work. why? what's wrong?

2007-07-04 Thread Eric Crull
Well, then Ganeshji is correct. Every id on a page has to be unique. In your example you have 3 ids, all named "btcontrole". You can only have one named btcontrole. Change the ids of the other two. The browser is ignoring the ids of the anything after the first span which has already registere

[jQuery] Re: How to select the kast TR of a TABLE?

2007-07-04 Thread Eric Crull
Even easier: $('tr:last') try: var lastrow = $('tr:last').attr('id') alert(lastrow) On Jul 3, 10:59 pm, howa <[EMAIL PROTECTED]> wrote: > var row = jQuery("#test > tbody > tr : last"); > > something like that? (of coz the above one didn't work) > > thanks.

[jQuery] Re: .fadeOut In mutiple elements don't work. why? what's wrong?

2007-07-03 Thread Eric Crull
so, for example, if your code is: hi bye ...table info... Your jquery object $("#btcontrole") only contains one element, so the each() only works on it. If you wanted to have a jquery object that consists of the spans you would use $("#btcontrole span"), or if you wanted the table to be incl

[jQuery] Re: Masked Input Plugin RC3

2007-07-03 Thread Eric Crull
s he requested at > Beta 1 or so. I really don't know what to do about the file naming. > It's still amaskedinputplugin, I just changed the method calls to a > verb to show the action that was taking place. > > Josh > > On Jul 2, 9:59 pm, Eric Crull <[EMAIL PROT

[jQuery] Re: Masked Input Plugin RC3

2007-07-02 Thread Eric Crull
Josh, I've been working with your plug-in this weekend and I think it's intuitive to the user to be able to use the "delete" key to remove a wrong entry. Right now the delete key only erases the character it is over. Would it be difficult to add the logic to delete the next char in the buffer ea

[jQuery] Re: Masked Input Plugin RC2

2007-06-29 Thread Eric Crull
The $AddMaskDefinition really adds a lot of flexibility to the plugin. It allows you to do a lot of user form validation character by character. For example, if I wanted to have an input that only accepted a signed integers with decimal quarters (like +4.75 or -1.50, for the sphere reading in e