[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-15 Thread Giovanni Battista Lenoci
Dan G. Switzer, II ha scritto: Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture th

[jQuery] Re: [PLUGINS] Two new controls from Filament Group

2008-05-15 Thread Matthieu BARBE
Whou, nice plugin ! Good job rey ;) 2008/5/16 Rey Bango <[EMAIL PROTECTED]>: > > Filament Jquery iPod drilldown widget : http://tinyurl.com/5lellm > > Filament jQuery date range picker : http://tinyurl.com/6hgtaq > > Rey... > >

[jQuery] Re: date picker doesn't work

2008-05-15 Thread pedalpete
I'd guess you are not linking to the script properly in your head tag. I've been using it for months, no problem. Its a great plug-in, super simple. On May 15, 7:05 pm, macsig <[EMAIL PROTECTED]> wrote: > Hello, I'm trying to use the date picker plugin but I have a issue > with it. > > I load al

[jQuery] Re: Google Maps / JQuery

2008-05-15 Thread pedalpete
I've just started with google maps last week, and I went with the plugin, so I kinda recommend it. Makes it easy, but doesn't include all the features of google maps. I haven't tried mixing other google features not built into the plug-in yet. Just out of curiosity, any chance you have come acros

[jQuery] Re: Google Maps / JQuery

2008-05-15 Thread Danny
I suspect the problem is the window.onload=load line. That replaces any existing onload function (such as jQuery itself) with your function. I would use $(load) to add your load() function to jQuery's document.ready queue. Danny On May 15, 6:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Manipulating returned date

2008-05-15 Thread Karl Rudd
Blah, once more: $.post( 'somewhere', {something:'or other'}, function( data ) { var commaAt = data.indexOf(','); $( '#' + data.substr(0, commaAt) ).text( data.substr(commaAt+1) ); }); Karl Rudd On Fri, May 16, 2008 at 1:27 PM, Karl Rudd <[EMAIL PROTECTED]> wrote: > Oh, beg your pardon, that

[jQuery] Re: Manipulating returned date

2008-05-15 Thread Karl Rudd
Oh, beg your pardon, that should have been: $.post( 'somewhere', {something:'or other'}, function( data ) { var stuff = data.split(',', 1); $( '#' + stuff[0] ).text( stuff[1] ); }); Karl Rudd On Fri, May 16, 2008 at 1:24 PM, Karl Rudd <[EMAIL PROTECTED]> wrote: > So you're trying to update

[jQuery] Re: Google Maps / JQuery

2008-05-15 Thread Rey Bango
This plugin should help http://jmaps.digitalspaghetti.me.uk/ Rey [EMAIL PROTECTED] wrote: Hello, i´m using JQuery. Overall no problem... just with Google Maps it does not work at all. While loading the code attached in the area, all other JQuery Code stop working and are reported as error.

[jQuery] Re: Manipulating returned date

2008-05-15 Thread Karl Rudd
So you're trying to update a particular section / element with some text? You could try this (untested): $.post( 'somewhere', {something:'or other'}, function( data ) { var stuff = data.split(','); $( stuff[0] ).text( stuff[1] ); }); Karl Rudd On Fri, May 16, 2008 at 8:51 AM, teazer <[EMAI

[jQuery] Re: Making all ids invisible except one

2008-05-15 Thread Brandon Aaron
Like Karl said and here are the docs for the :not selector and the .not method http://docs.jquery.com/Selectors/not#selector http://docs.jquery.com/Traversing/not#expr -- Brandon Aaron On Thu, May 15, 2008 at 10:17 PM, Karl Rudd <[EMAIL PROTECTED]> wrote: > > $('div.subNav').not('#myId').hide();

[jQuery] Re: Making all ids invisible except one

2008-05-15 Thread Karl Rudd
$('div.subNav').not('#myId').hide(); or $('div.subNav:not(#myId)').hide(); Karl Rudd On Fri, May 16, 2008 at 1:13 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Given a bunch of divs with class = "subNav", how do I write a jquery > expression to make all of their "display" attrib

[jQuery] Making all ids invisible except one

2008-05-15 Thread [EMAIL PROTECTED]
Hi, Given a bunch of divs with class = "subNav", how do I write a jquery expression to make all of their "display" attributes "none" except the one with id, "myId"? Thanks, - Dave

[jQuery] Re: How do I write this jquery expression?

2008-05-15 Thread Ryura
var id = $("div.subNav:visible").attr("id"); On May 15, 5:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a number of DIVs with class = "subNav". How do I write a > Jquery expression to tell me the ID of the DIV with class "subNav" > whose display element is not "none" (i.

[jQuery] how to create a container for page flows and history

2008-05-15 Thread YC
Hi - I am new to jQuery. The question I have is probably a common one, and hopefully it's got a common solution :) I am wondering if there is an easy way to create a "container" to contain a series of pages that would be loaded via ajax, possibly with ability to handle history (i.e. goes back t

[jQuery] Re: jqDock doesn't do anything?

2008-05-15 Thread Davis
wizzud, thanks for your help. now im using coefficient: 1 and #menu img {padding:0px 2px 0px 0px; } it is work fine in FF2, but still no luck from IE, so you quoted (a) be aware that for any coefficient other than 1 (linear) this can (will) throw out calculation of the leading edge of the menu

[jQuery] Manipulating returned date

2008-05-15 Thread teazer
I have a $.post that returns: foo,bar How can I get that data to change $(id).text(data); to $(foo).text(bar);

[jQuery] Dragable Items - Coordinates

2008-05-15 Thread psurrena
Say I have 5 objects that can be dragged around, I want to save their positions. Could anyone point me in the right direction? I'm looking to figure out how to get the coordinates of "object 1" and "object 2" and the id of the object then either stick them in a database or generate and xml docume

[jQuery] Google Maps / JQuery

2008-05-15 Thread [EMAIL PROTECTED]
Hello, i´m using JQuery. Overall no problem... just with Google Maps it does not work at all. While loading the code attached in the area, all other JQuery Code stop working and are reported as error. Anybody who can fix this ? Thanks alot. For example: - $("#login-box") has no properties

[jQuery] date picker doesn't work

2008-05-15 Thread macsig
Hello, I'm trying to use the date picker plugin but I have a issue with it. I load all the required files jquery-1.2.3.min' 'date' 'jquery.datePicker' and I create the picker var $j = jQuery.noConflict(); $j(function() { $j('.date-pick').datePicker();

[jQuery] Re: How can I recreate this menu

2008-05-15 Thread BooZker
Shoot, I totally forgot the link: http://www.wynnlasvegas.com/ The top and bottom navigations On May 15, 11:49 am, BooZker <[EMAIL PROTECTED]> wrote: > I am trying to recreate this menu for a client. I have got the nav to > scroll on way, but how can I make it scroll faster and slower and in a

[jQuery] [PLUGINS] Two new controls from Filament Group

2008-05-15 Thread Rey Bango
Filament Jquery iPod drilldown widget : http://tinyurl.com/5lellm Filament jQuery date range picker : http://tinyurl.com/6hgtaq Rey...

[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread Karl Rudd
"Active content" is just a term I made up, as I said it's pages with "HTML _and_ JavaScript", mixed together. Loading in things via AJAX is a very different environment to the usual "load a page in the browser, run the JavaScript" scenario. Many scripts aren't built to cope with this. If you need

[jQuery] Re: javascript in php loop, want to take if out of the php while statement?

2008-05-15 Thread thekman
Hi Scott, got to play around with it a little & have some if it figured out, thanks. the json_encode() of my php array returns something like: ["box1","box2","box3","box4"] the cookie returns something like: {"box2":"closed","box4":"closed"} so any idea where I go from here? On May 15, 3:0

[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread hubbs
Hi Karl, Can you explain what you mean by "active" content. And what you meant by loading in the js and html seperatly? I am not sure how this would be possible with a WYSIWYG editor that is heavy on js. I have an example, but I don't really want to publicly post the URL. > My advice is don't

[jQuery] How to speed up IE6/IE7 $get();

2008-05-15 Thread Up-Works
I am loading a PHP script upon a select element changing, the PHP calls to db and then loads an avg of 100 PNG files that are between 5-10k. In both safari and FF there is no lag at all but in IE7 it is 15 seconds of waiting and in IE^6 it is up to 45 seconds. It almost seems that in both IE's i

[jQuery] Re: Ajax load, and bad javascript

2008-05-15 Thread Karl Rudd
It's probably the way, or "when", the editor's JavaScript code is run. Without looking at the page(s) in question it's almost impossible to diagnose exactly why. My advice is don't use AJAX to bring in pages of "active" content, that is HTML _and_ JavaScript. There's lot's of issues you'll have t

[jQuery] Ajax load, and bad javascript

2008-05-15 Thread hubbs
I am using the jQuery ajax function using GET to load data into a div. Part of the page contains a WYSIWYG editor, which contains alot of javascript code. When I try to load that page, it starts to load it, but then basically refreshes the page, and just sits there and tries to load something.

[jQuery] Re: jqDock doesn't do anything?

2008-05-15 Thread Wizzud
@JohnieKarr Yep, if it works, that correctPNG() script will definitely prevent jqDock() doing anything. On May 15, 3:22 pm, JohnieKarr <[EMAIL PROTECTED]> wrote: > Wizzud, > > Thanks for the help. Once I inclosed the script inside the document > ready function it worked great. > > It quit workin

[jQuery] Re: jqDock doesn't do anything?

2008-05-15 Thread Wizzud
@Davis Yes you can pad the images, and the bottom horizontal menu on the demo page - http://www.wizzud.com/jqDock/ - has 4px (left/right) padding applied to it. Please be aware of the limitations though (see the Example CSS). On May 15, 10:07 am, Davis <[EMAIL PROTECTED]> wrote: > Thanks very muc

[jQuery] Re: Problems when dynamically loading jQuery

2008-05-15 Thread Ariel Flesler
Stolen from jQuery: jsScript.onload = jsScript.onreadystatechange = function(){ if ( !this.loaded && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") ) { this.loaded = true; // avoid double execution jQuery.isReady = true; // adviced doTheRe

[jQuery] Re: Expanding the clickable region of a checkbox

2008-05-15 Thread Wizzud
Eg. $('td').bind('click', function(e){ if(e.target===this){ cb = $(this).children(':checkbox').trigger('click'); return false; } }); On May 15, 4:16 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > The click callback gets the event object as the first parame

[jQuery] Re: How do I write this jquery expression?

2008-05-15 Thread Klaus Hartl
var id = $('div.subNav').filter(function() { return $ (this).css('display') == 'block'; }).attr('id'); (untested) --Klaus On 15 Mai, 23:28, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a number of DIVs with class = "subNav".  How do I write a > Jquery expression to tell me

[jQuery] Re: How do I write this jquery expression?

2008-05-15 Thread Wizzud
var visID = $('div.subNav:visible').attr('id'); On May 15, 10:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a number of DIVs with class = "subNav". How do I write a > Jquery expression to tell me the ID of the DIV with class "subNav" > whose display element is not "none"

[jQuery] Re: Dynamic forms and jQuery

2008-05-15 Thread Web Specialist
Jorn haves a great job and can help you with: http://jquery.bassistance.de/validate/demo/dynamic-totals.html This example validates the dynamic added rows. Cheers Marco Antonio On Thu, May 15, 2008 at 4:13 PM, Spencer <[EMAIL PROTECTED]> wrote: > > I'm trying to create an order form where the

[jQuery] Re: Encoding image upload through ajax POST

2008-05-15 Thread Karl Rudd
Errr sure. In your server side code just return the div rather than a whole page. You could add an argument such as "ajax=true" to the form post URL. If you really don't want to change your server side code you could strip the "page wrapping" from the whole page you get back. (Untested code fol

[jQuery] How do I write this jquery expression?

2008-05-15 Thread [EMAIL PROTECTED]
Hi, I have a number of DIVs with class = "subNav". How do I write a Jquery expression to tell me the ID of the DIV with class "subNav" whose display element is not "none" (i.e. "block")? Thanks, - Dave

[jQuery] Re: trigger event on resize of window

2008-05-15 Thread Jason Huck
Yes, .resize(): http://cachefile.net/scripts/jquery/1.2.3/ jquery-1.2.3.min.js"> $(function(){ $(window).resize(function(){ alert('You resized the window!');

[jQuery] Re: Encoding image upload through ajax POST

2008-05-15 Thread hubbs
For some reason, the script is returning an entire page for the data part, am I able to just return a div? On May 14, 5:28 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > If you know your response is always going to be HTML then you could > use something like this: > > $('#uploadForm').ajaxForm({ >

[jQuery] Re: Dynamic forms and jQuery

2008-05-15 Thread Jason Huck
Here's an example I put together for someone a while back: http://devblog.jasonhuck.com/assets/infiniteformrows.html HTH, Jason On May 15, 3:13 pm, Spencer <[EMAIL PROTECTED]> wrote: > I'm trying to create an order form where the user starts out with a > single row of form inputs for enterin

[jQuery] Re: Var in through ajax, then copy to field

2008-05-15 Thread hubbs
I actually came up with another solution that works perfectly for me. I just pass an actual input field, with the ID as the value, and inserted it right into my image creation for. Worked perfectly! On May 15, 12:32 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > I think I see now. You should be ab

[jQuery] trigger event on resize of window

2008-05-15 Thread Eridius
Is there a way to trigger an event when the use resize the window with jquery or vanilla javascript? -- View this message in context: http://www.nabble.com/trigger-event-on-resize-of-window-tp17262754s27240p17262754.html Sent from the jQuery General Discussion mailing list archive at Nabble.com

[jQuery] Re: workaround for IE6 clone(true) bug in jQuery 1.2.2?

2008-05-15 Thread rolfsf
Thanks Karl You know, I tried a simple clone() and nothing happens in IE - no error, but no new row either. My current workaround (that works) is this: var rowcontents = $('#contractDetails tbody tr:last').html(); var row = ("" + rowcontents + "");

[jQuery] [blockUI] proposed IE6 patch to allowBodyStretch option

2008-05-15 Thread Brian Schilt
I've downloaded the latest blockUI code and despite using the new allowBodyStretch option, the overlay still will not completely cover the viewport in IE6, for short pages. The current code (around line #163) tries to size the body and html tags with the following: $('html,body').css('height','1

[jQuery] Re: Yet more validation questions

2008-05-15 Thread Jörn Zaefferer
Ah, should've tried it before posting. This should work: jQuery.validator.addMethod ('ccard', function (value, elem) { return (jQuery.validator.methods.creditcard.call(this, value, elem)); }, 'Enter a valid credit card number'); Jörn On Thu, May 15, 2008 at 5:09 PM, Gordon <[EMAIL PROTEC

[jQuery] Re: Validate Plugin - Message customization with metadata

2008-05-15 Thread Jörn Zaefferer
How about this? meta: default class="{required:true,minlength:2,messages:{required:'Enter this!',minlength:'Way to short'}}" meta: "validation" class="{validation:{required:true,minlength:2,messages:{required:'Enter this!',minlength:'Way to short'}}}" No need to change the meta-option that way.

[jQuery] Re: ajaxForm replacing content in the wrong element

2008-05-15 Thread pedalpete
I thought I had this working, but now it turns out the form is getting submitted twice. I can see why it is getting submitted twice, but can't figure out how to change it and make it all work the problem is I don't have the data to be submitted until I run another function. I tried calling that

[jQuery] Problems when dynamically loading jQuery

2008-05-15 Thread [EMAIL PROTECTED]
Hi, I'm writing a script which is load from 3rd party sites, and my script depends on jQuery. In other words, I need to load jQuery from my script. The trick I'm using for that is to use createElement. function loadJquery() { var jsScript = document.createElement("script") jsScript.src = "ht

[jQuery] How can I recreate this menu

2008-05-15 Thread BooZker
I am trying to recreate this menu for a client. I have got the nav to scroll on way, but how can I make it scroll faster and slower and in a different position depending on where my mouse is on the screen? Are their any tutorials anywhere? I can't find any anywhere!

[jQuery] Re: workaround for IE6 clone(true) bug in jQuery 1.2.2?

2008-05-15 Thread Karl Swedberg
Hi Rolf, If you're already using livequery, do you even need to use clone(true)? Wouldn't simple clone() do the trick? I thought that the true arg was for cloning the events along with the elements, but that's what livequery does for you. Maybe I'm misunderstanding, though. --Karl _

[jQuery] Dynamic forms and jQuery

2008-05-15 Thread Spencer
I'm trying to create an order form where the user starts out with a single row of form inputs for entering quantity and part number. The user should be able to click the "add row" which creates the next row of form inputs. When all rows have been filled in, the the user will submit the form and th

[jQuery] workaround for IE6 clone(true) bug in jQuery 1.2.2?

2008-05-15 Thread rolfsf
I need to clone a table row, and have run into the IE6 clone(true) bug using jQuery 1.2.2. I can't upgrade to jQuery 1.2.3 just yet, so I'm wondering what the simplest workaround is? I simply want to duplicate the last row of a table. I was using the following: $('#addRow') .live

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-15 Thread Karl Swedberg
Hi Aaron, Is there a public test page that you can show us? It'll help immensely. Hard to troubleshoot if we don't have the full picture. Also, please take a look at the plugin's documentation -- in particular, the Getting Started section: http://plugins.learningjquery.com/cluetip/#gettin

[jQuery] Re: Turn off Cache Busting in $.getScript

2008-05-15 Thread Mike Alsup
> Can you clarify if - in FACT- setting cache:true will affect > $.getScript() when it is getting the script from a different domain? > (and perhaps what technique $.getScript uses under the covers for the > cross domain case?) > > Also - the direct use of the cache parameter in an $.ajax( options

[jQuery] loading content form ajax request in safari

2008-05-15 Thread Eridius
When i am loading content from an ajax request in safari, the javascript loads fine but the css does not load, is this a problem in safari 3.1.1? It seem like the thickbox plugin does it fine but i don't see what they are doing different from my plugin. -- View this message in context: http://

[jQuery] Re: Superfish: How do I have a different rollover image for each of my menu items?

2008-05-15 Thread Joel Birch
You don't have to combine them but if you don't you will get a delay as the second image (hover state) loads for the first time you mouseover. If you don't mind this (or you preload the hover images some other way) then use this css instead: #aboutus a { background: transparent url(/images/nav_03

[jQuery] Re: Superfish: How do I have a different rollover image for each of my menu items?

2008-05-15 Thread [EMAIL PROTECTED]
Thanks for your response. Just so I'm clear, right now I have my normal and rollover states as two separate images: http://www.remanresource.com/images/nav_03.gif http://www.remanresource.com/images/nav_03-over.gif From what I'm reading from your post, I'd need to combine these into a single im

[jQuery] Re: Delayed Event Handlers + UI Convenience Methods

2008-05-15 Thread Voyagerfan5761
I think I'll try the UI group, yes. I'll also look up the plugin you mentioned. Thanks! Meanwhile, here's the code I forgot to post. I feel so silly for forgetting... *** CODE START *** /* Set up the hover effect below the header */ $('#tag').hide(); var hoverTimeout; $(document).ready(function(

[jQuery] Re: Var in through ajax, then copy to field

2008-05-15 Thread Ariel Flesler
@Karl HTML comments as metadata carriers! How come I never thought about that ? It is (IMO) way better than filling classNames(metadata) or (metaobjects). I'll have it in mind :) -- Ariel Flesler http://flesler.blogspot.com On 15 mayo, 04:32, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > I think I

[jQuery] Re: Var in through ajax, then copy to field

2008-05-15 Thread hubbs
Thanks Karl, yes, I am using the form plugin on the second form for image upload. On May 15, 12:32 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > I think I see now. You should be able to parse the response (the > 'data' argument from the sucess function) that you get back from the > ajax call and

[jQuery] Problem with Clear type and Jquery

2008-05-15 Thread parrfolio
I have a blinking tool tip that fades in and out until hover event opens it. The fade in and out images are two PNG brackets like so "[ ]" when hovered they open to "[some tip here]". Everything is alpha transparent to sit on top of graphics. My problem is with both IE6 and IE7. When the image fad

[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-15 Thread Dan G. Switzer, II
Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture those characters either on keydown

[jQuery] Re: Turn off Cache Busting in $.getScript

2008-05-15 Thread JoeM
Thanks for the discussion and clarifications. I am still fuzzy on one thing (besides the fact that much of this is undocumented - and i could find NOTHING in the documentations that indicate that AjaxSetup would affect getScript in any way... much less the specifics of how) I am interested 80%

[jQuery] Re: [treeview] - async version - how do i call some js AFTER the tree has loaded some json for the first time?

2008-05-15 Thread Max Williams (Brighton)
event.target is perfect, thanks Jörn! On May 15, 3:59 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I recommend to use event delegation: Bind a click handler on the tree > container (ul) element, then use the target property of the event > object to find the clicked element. > > More on the t

[jQuery] Re: Validate plugin doesn't work on type=file controls?

2008-05-15 Thread Gordon
I figured out why it was happening. I was using an accept attribute on the file inputs to specify the MIME type of files the input was meant to allow, as the w3c documentation at http://www.w3.org/TR/html401/interact/forms.html#adef-accept describes. When I added the jQuery validation on top it

[jQuery] Re: Validate Plugin - Message customization with metadata

2008-05-15 Thread Dane
Ok I have a first cut done. elements can now have metadata like: Quick question though. Which do you prefer? 1)$("#Form").validate({meta:"rules", metaMessages:"messages"}); 2)$("#Form").validate({meta:{rules:"rules", messages:"messages"}}); I like 2, but it changes the existing API. How do yo

[jQuery] Re: Can I use DWR and jQuery together?

2008-05-15 Thread mmiller
Thanks for weighing in on that, Joe. I had always assumed the conflict. Now I know better. Mark

[jQuery] Re: Defining regular expressions with # selector ??

2008-05-15 Thread bjorsq
If you want to get a set whose IDs start with "div1.", then you can use: $('[EMAIL PROTECTED]') You could also filter the result set with a regex like this: $('div').filter(function(){ return /^div1\./.test(this.id); }) Orcun Avsar-2 wrote: > > > Is it possible to define a regex with a # sel

[jQuery] .prevAll().remove not working in FF3 b5

2008-05-15 Thread Adam Kroll
I'm attempting to remove three elements from a table cell upon clicking on the the last element in the cell, using the following code $(".available > .delete").click(function(){ //alert($(this).prevAll().andSelf().length); $(this).prevAll().andSelf().remove(); }); This f

[jQuery] Re: Expanding the clickable region of a checkbox

2008-05-15 Thread Richard D. Worth
The click callback gets the event object as the first parameter. Check the event.target property. That will be the DOMElement actually clicked on. In your case, simply make sure it's a TD (ignoring the click on the checkbox, as that one's handled by the browser default). - Richard On Thu, May 15,

[jQuery] Re: Validate plugin again: Only submit on certain submit buttons

2008-05-15 Thread Gordon
Thanks On May 15, 3:19 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Now also documented > here:http://docs.jquery.com/Plugins/Validation#Skipping_validation_on_submit > > Jörn > > On Thu, May 15, 2008 at 4:14 PM, Jörn Zaefferer > > <[EMAIL PROTECTED]> wrote: > > Add a class="cancel" to your

[jQuery] Re: Yet more validation questions

2008-05-15 Thread Gordon
I tried writing a test function that just calls the existing function so it should give the same results. jQuery.validator.addMethod ('ccard', function (value, elem) { return (jQuery.validator.methods.creditcard (value, elem)); }, 'Enter a valid credit card number'); Unfortunately it did

[jQuery] Re: [jquery-ui] delay causes a problem

2008-05-15 Thread Scott Sauyet
Redirected from the UI group. Dean wrote: I have created a simple mouseover popup for a client. The client wants the popup to stay visible with the mouse over both the trigger div as well as the popup itself, and he wants a delay in the popup disappearing on mouseout. But when I use setTimeout

[jQuery] Re: [treeview] - async version - how do i call some js AFTER the tree has loaded some json for the first time?

2008-05-15 Thread Jörn Zaefferer
I recommend to use event delegation: Bind a click handler on the tree container (ul) element, then use the target property of the event object to find the clicked element. More on the target property here: http://docs.jquery.com/Types/Event#target Jörn On Thu, May 15, 2008 at 3:31 PM, Max Willi

[jQuery] [treeview] Does anyone know of a persistence mechanism for the asynchronous version of the treeview plugin?

2008-05-15 Thread Max Williams (Brighton)
I'm trying to write my own cookie-based persistence method for the asynch version of the Treeview plugin, and am running into some difficulties. Has anyone else done this please, or know of an existing solution? thanks max

[jQuery] Expanding the clickable region of a checkbox

2008-05-15 Thread Andiih
Hi I have some checkboxes in table cells. I would like a click anywhere in the td to trigger the toggle of the checkbox. I thought something like this would do it (obviously with more specific selectors for the real world) $("td").click(function(){ $(this).children("input").each(function(){

[jQuery] signal & wait

2008-05-15 Thread rosenfield . albert
Hi experts A bit more on the topic of decoupling/timing load & execution of javascript on various browsers.. It just occurred to me that the example might be easier to read if we split it up: Code to set and wait for signals: function signal(flag) { document['flag_' + flag] = true; }

[jQuery] Re: Can I use DWR and jQuery together?

2008-05-15 Thread Joe Walker
Although dwr.util does have a $, it's not a conflict. dwr doesn't use $ internally and is totally happy for it to be redefined. Also it checks to see that it doesn't exist before it defines it. So it's safe to include dwr.util and jquery (without noconflict) in either order. When you're done $ =

[jQuery] [treeview] - async version - how do i call some js AFTER the tree has loaded some json for the first time?

2008-05-15 Thread Max Williams (Brighton)
I'm using the async version of the treeview plugin, which refreshes the tree with an ajax call that returns some json. This is working fine. However, the cookie-based persistence doesn't work with the async version and i'm trying to write my own. In order to do this, i'm using jQuery to monitor

[jQuery] Re: jqDock doesn't do anything?

2008-05-15 Thread JohnieKarr
Wizzud, Thanks for the help. Once I inclosed the script inside the document ready function it worked great. It quit working however, once I inserted this script into my header: The images do appear, they just don't do anything. Of course this script corrects the transparent png issue fou

[jQuery] Re: jquery / thickbox weirdness with apache logs(!)

2008-05-15 Thread Ben
Hi Chris, I'm having the same issue here. I've been reading the logs, I've been testing around, I out of new ideas... On 29 avr, 05:53, chrisb <[EMAIL PROTECTED]> wrote: > Hello everyone. > > I'm using jquery 1.2.3 along with some plugins, and i've never had any > problems or errors with any brow

[jQuery] Re: Why is nothing working in IE6?

2008-05-15 Thread switch13
Perfect! Thanks so much for your help! On May 14, 6:25 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi there, > > I believe the problem is here: > > > > IE6 doesn't like that. Change it to: > >