[jQuery] Re: element creation using wrap behaves oddly

2008-09-26 Thread darren
yea! weird huh? yes the workarounds do work (and there's even a few more that i can think of) but i was simply scratching my head when i came up against the problem. ill see if i can make sense of the source, and perhaps submit a ticket so that someone with a better understanding can give it a

[jQuery] Re: element creation using wrap behaves oddly

2008-09-26 Thread ricardobeat
Hmmm... Actually, after some tests I found my idea of this to be false. You can indeed attach event handlers before an element is inserted into the DOM. Sorry :D But I don't know what's weirder: this construct for wrapping/attaching a handler at the same time or that the wrap() function

[jQuery] Re: Get Lightbox and Innerfade plugins work together

2008-09-26 Thread aminho
Yes i found a solution, here it is: I use prototype and lightbox with $ calls, and i enclose my other jquery calls this way: script language=javascript src=/js/jquery-1.2.6.js/script script language=javascript src=/js/jquery.innerfade.js/script script src=/js/lightbox/prototype.js

[jQuery] Re: Tabs with multiple CSS classes

2008-09-26 Thread Klaus Hartl
You can change the class names via options (undocumented): $('#foo').tabs({ navClass: 'my-ui-tabs-nav' selectedClass: 'my-ui-tabs-selected', disabledClass: 'my ui-tabs-disabled', panelClass: 'my-ui-tabs-panel', loadingClass: 'my-ui-tabs-loading' });

[jQuery] i was patient, now i'm frustrated

2008-09-26 Thread Richard W
How long does it take to sort out hosting issues? 1 month, 2 months? I've been reading all the comments from frustrated developers who are unable to do their job because the jQuery site does not load. I thought those people should understand the situation and be patient. Now it's my turn to

[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
You should use encodeURIComponent() From the jQuery core, they use this method to encode data for use with serialize(): encodeURIComponent(string).replace(/%20/g, +) On Sep 25, 5:08 pm, uncleroxk [EMAIL PROTECTED] wrote: i know that .serialize will encode it to a url safe character, but

[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
further reading: http://xkr.us/articles/javascript/encode-compare/ On Sep 26, 9:40 am, Richard W [EMAIL PROTECTED] wrote: You should use encodeURIComponent() From the jQuery core, they use this method to encode data for use with serialize(): encodeURIComponent(string).replace(/%20/g, +)

[jQuery] Re: Closing modal element when clicking outside its border ...

2008-09-26 Thread [EMAIL PROTECTED]
Alright, I figured this out. I just bound a 'mousedown' event to the main 'document'. It then calls the 'checkMouse' function: $(document).bind('mousedown', checkMouse); var checkMouse = function(element) { var element = $(element.target)[0]; var observe = $('#form-drawer')[0];

[jQuery] Simple Queires for Function calling

2008-09-26 Thread JQueryProgrammer
1. I have some simple queries with regards to function calling. In plain javascript if I want to call a javascript function from my HTMl tag i do it like: input type=text id=myid onclick=javascript:sayHello(this.id); value=World / Now my javascript function would be defined as function

[jQuery] contains() not working

2008-09-26 Thread JQueryProgrammer
I have an image tag as img id=myimg src=images/expand.jpg / I am trying as if($(#myimg).attr(src).contains(expand)) // do something else //do something else but it gives an error Object doesn't support this property of method. Please help.

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-26 Thread Paul Mills
That's what I tried first but couldn't get it to work, so I switched to using load function. I've created a demo page with 2 iframes - one using each method and only the load function works. You can find it here if you want to have a look to see if I've done something wrong.

[jQuery] Re: Simple Queires for Function calling

2008-09-26 Thread Richard D. Worth
The same with jQuery looks like this: input type=text id=myid value=World / script type=text/javascript $(function() { //document.ready $(#myid).click(function() { alert( Hello + $(this).val() ); } }); /script You don't have to pass anything to the function since the 'this' context

[jQuery] Re: contains() not working

2008-09-26 Thread Richard D. Worth
contains is a pseudo-selector, but not a method. So you can use it like this: html before: pthe quick brown/p pfox jumped over/p pthe lazy dog/p script: $(p:contains('the')).remove(); html after: pfox jumped over/p That doesn't really help in the scenario you've posed because contains searches

[jQuery] Re: Click function only invoked after second click in IE6 IE7

2008-09-26 Thread RLR
I did not fully realize the issue with the duplication of the ids from Thomas first post... Now I understand and have a working example to base my code on. Thank you very much for your help Richardo and Thomas.

[jQuery] jQuery infected by script.aculo.us

2008-09-26 Thread ricardoe
Hello, First of all, I need to get this working without touching markup. I really can't, only in very extreme cases. I'm loading jquery at the bottom of the body and script.aculo.us is on the head section. The main problem is: (I'm using jQuery.noConflict() and even tried myJq =

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread Richard D. Worth
It looks like jquery.com isn't up right now, but the fix that was put in place recently (splitting each sub-domain off to its own server) *has* made a difference. For example http://docs.jquery.com/ (the site which most developers need most) is up right now, and quite responsive. If by chance you

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-26 Thread Richard D. Worth
Also in the FAQ: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F - Richard On Thu, Sep 25, 2008 at 10:37 AM, MorningZ [EMAIL PROTECTED] wrote: Straight from the Docs (http://docs.jquery.com/Selectors)

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread Richard W
Thank you for the response Richard. For me, (in London), the docs site takes on average about 3 minutes to load per page. (I just tried again now.) The pages do eventually load, it just takes forever for each page. Unfortunately I see no difference. I thank Remy Sharp for hosting a copy of the

[jQuery] Horizontal Splitter Problem

2008-09-26 Thread alee amin
Hi, I have used vertical splitter along with JSF (facelets + richfaces) and YUI - it is working fine and PERFECT. however, I am unable to integerate the horizontal splitter in my code. Can any one plese help me out .. I am attaching the code below. Please someone help me in it .. ?xml

[jQuery] Re: contains() not working

2008-09-26 Thread JQueryProgrammer
Thanks a ton. Although I had another way to do it like: if($(imgID).attr(src).indexOf(expand) = 0) but using the way you mentioned is more accurate and specific to JQuery. Thanks once again. On Sep 26, 2:27 pm, Richard D. Worth [EMAIL PROTECTED] wrote: contains is a pseudo-selector, but not a

[jQuery] Re: Simple Queires for Function calling

2008-09-26 Thread JQueryProgrammer
Understand. But my issue is a bit different which i think i could not make it clear. I have a js file associated with every aspx page. Now my code is like input type=text id=myid onclick=javascript:sayHello(%= myValueFromServer%); / I tried to use the code (which is in my .js file) as: script

[jQuery] Re: Get parent url and add to a textarea

2008-09-26 Thread stinhambo
The HTML is - ul id=content_header_tools li id=tools_contact_usa href={path=contact-us/index}Contact Us/a/li li id=tools_email_pagea href={path=email-page/index} rel=email_pageEmail Page/a/li li id=tools_print_pagea href=javascript:window.print();Print Page/a/li /ul and

[jQuery] Re: Simple Queires for Function calling

2008-09-26 Thread Richard D. Worth
Take a look at the metadata plugin: http://plugins.jquery.com/project/metadata - Richard On Fri, Sep 26, 2008 at 7:09 AM, JQueryProgrammer [EMAIL PROTECTED]wrote: Understand. But my issue is a bit different which i think i could not make it clear. I have a js file associated with every aspx

[jQuery] Re: Simple Queires for Function calling

2008-09-26 Thread MorningZ
But in .js file it does not resolve the %% value. Any help would be appreciated. As it shouldn't you've got a .js file, which IIS treats as plain ol text and passes through untouched, it will never get seen or more importantly processed by ASP.NET You've got options through: 1) Keep any

[jQuery] suggestion - enable() / disable() functions

2008-09-26 Thread Martin
Dear all, I like jQuery much but I do not like the way the enabling, disabling elements is handled. This is a pretty common task and the current solution based on changing attributes is not in accord with jQuery’s “write less” philosophy. The enable() / disable() functions would be MUCH more

[jQuery] wrap function

2008-09-26 Thread thelemondropkid
I´m stuck, please help! My code: div class=box-two h1some header/h1 img name=Image src= width=250 height=200 alt=Image / pLorem ipsum dolor sit amet/p /div The jQuery: $(document).ready(function(){ $(div.box-two *).wrap('div class=inside/div'); }); The idea is to

[jQuery] Re: Plugin that offers smart tag-like functionality?

2008-09-26 Thread Sam Collett
Thought someone might have done something like this. HTML would be something like this: div id=smarttag div id=smarttagicon img src=smarttagicon.gif width=16 height=16 / /div div id=smarttagcontent

[jQuery] treeview

2008-09-26 Thread bdct
Hello i hope someone can help this is driving me mad. Im using jquery-1.2.6.pack.js jquery-treeview.js jquery-cookie.js for a menu on www.bdct.nhs.uk everything works ok apart from in ie6 where some of the links disappear. but even this is inconsistent on different machines with ie6 installed.

[jQuery] Re: text() as a wrapped set?

2008-09-26 Thread 703designs
I could also do something along these lines: $.fn.oldText = $.fn.text; $.fn.text = function() { return $(document.createTextNode(this.oldText())); } That is, of course, if I'd like to confuse the hell out of future maintainers :) On Sep 25, 1:15 am, Balazs Endresz [EMAIL PROTECTED] wrote:

[jQuery] Re: text() as a wrapped set?

2008-09-26 Thread 703designs
Oh, and break everything that depends on the text method. On Sep 26, 9:16 am, 703designs [EMAIL PROTECTED] wrote: I could also do something along these lines: $.fn.oldText = $.fn.text; $.fn.text = function() {     return $(document.createTextNode(this.oldText())); } That is, of course,

[jQuery] Re: wrap function

2008-09-26 Thread Mauricio (Maujor) Samy Silva
Use wrapAll() method. Maujor -Mensagem Original- De: thelemondropkid [EMAIL PROTECTED] Para: jQuery (English) jquery-en@googlegroups.com Enviada em: sexta-feira, 26 de setembro de 2008 09:13 Assunto: [jQuery] wrap function I´m stuck, please help! My code: div class=box-two

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread Andy Matthews
You're complaining why? Why should the jQuery site not loading affect your job in any way? The jQuery site offers nothing to me that I can't find elsewhere. I can get the most recent jQuery release from Google code, Remy Sharp has the API hosted on his site (or his downloable AIR app), and I

[jQuery] Re: wrap function

2008-09-26 Thread thelemondropkid
Good greef Samy! That works like a charm - I did not think it´s that simple. Thanks a million. Q. On Sep 26, 3:18 pm, Mauricio \(Maujor\) Samy Silva [EMAIL PROTECTED] wrote: Use wrapAll() method. Maujor -Mensagem Original- De: thelemondropkid [EMAIL PROTECTED] Para: jQuery

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread vld
svn checkout http://jqueryjs.googlecode.com/svn/trunk/tools/api-browser jqueryapi open jqueryapi/index.html On Sep 26, 5:18 am, Richard W [EMAIL PROTECTED] wrote: Thank you for the response Richard. For me, (in London), the docs site takes on average about 3 minutes to load per page. (I just

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread Rey Bango
What version of jQuery and Scriptaculous are you using? Rey ricardoe wrote: Hello, First of all, I need to get this working without touching markup. I really can't, only in very extreme cases. I'm loading jquery at the bottom of the body and script.aculo.us is on the head section. The main

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread Ricardo Emiliano Vega Rangel
Hi Rey The jquery is 1.2.6 and scriptaculous is v1.7.0 Also an important note is: with prototype there's seem to be no problem, its when scriptaculous is added when everything is screwed. :( I've been debugging line by line (with firebug) the jQuery selector function and there's a time when it

[jQuery] Also...

2008-09-26 Thread ricardoe
Its important to know that I'm almost unable to change a bit of markup or other js libraries code, I'm being injected along with jQuery to this site, so I'm more like a guest in this uber-mix of js.

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread John Resig
This is a completely unrelated issue - we host jQuery.com (the homepage, blog, and dev) on a separate server with Rimuhosting. There was a power outage at the server facility and they're working ot bring it back up: http://rimuhosting.com/maintenance.jsp?server_maint_oid=68009362 The other

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread ricardoe
Its important to know that I'm almost unable to change a bit of markup or other js libraries code, I'm being injected along with jQuery to this site, so I'm more like a guest in this uber-mix of js.

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread Michael Geary
Its important to know that I'm almost unable to change a bit of markup or other js libraries code, I'm being injected along with jQuery to this site, so I'm more like a guest in this uber-mix of js. Could you quote the relevant text from previous message(s) in your replies? For those of

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread ricardoe
Hi Michael, Sorry about the confusion. I'll try your solutions, but as I'm just invited to the page I'm working I can't downgrade scriptaculous. But I'll try with an older jquery or with the little tweak. I'll we back with the results. On 26 sep, 10:34, Michael Geary [EMAIL PROTECTED] wrote:

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread Rey Bango
But can you upgrade it? The reason I had asked the version was for the reason the Mike mentioned, the conflict in makeArray. Mind you that this is not a bug in jQuery but an issue in several prior releases of Scriptaculous where they decided to overwrite the default behavior of the call

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread ricardoe
Hi Rey, Its not an easy option but its reasonable, so I'll test it. For now, my tests confirm what Michael said, the array.call its the picky line, I removed it and everything is working fine again, if someone can make a call to John Resig :D asking if its ok if we remove that :) So I'm with 3

[jQuery] livequery and iui

2008-09-26 Thread pere roca
hi, I usually don't work with iui (iphone) but have some code and wanna adapt it to play with jquery. The problem is to attache events to the new generated DOM at each ajax request in iui (using jquery AJAX I would make a callback, but...). Finally discovered livequery but seems not to work

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread ricardoe
Yay! Thanks Ariel, I'll keep that on mind. For now we're dealing with the manager of the host-page because everything is caused by a WP plugin known as mp3inline, they are using old prototype libs. Thanks for all everybody (if someday you came to México, you will get a free shot of Mezcal) ;)

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-26 Thread ricardobeat
Hope you don't mind turning your thread into a discussion :) now that sounds like a bug. $(document).ready(function(){ $(frames.testframe2.document).ready(function(){ $('#test',frames.testframe2.document); }); }); The inner ready() function is fired exactly at the same time as

[jQuery] Re: jQuery infected by script.aculo.us

2008-09-26 Thread Ariel Flesler
Let me add another option, you can either: - Upgrade Scriptaculous - Downgrade jQuery - Upgrade jQuery to the version on the trunk. This last option is the new one and I sort of announced that already (on jquery-dev I think). The version on the trunk patches (I wouldn't say fixes) the conflict

[jQuery] Can jQuery do it again and again?

2008-09-26 Thread thelemondropkid
Thanks to the help I have received on this group, I am making progress. But now that all is working fine, the question beckons: Can jQuery do it all over again? This is my code: div class=box h3some header/h3 img name=Image src=photo.jpg width=268 height=122 alt= / pLorem ipsum

[jQuery] Re: Can jQuery do it again and again?

2008-09-26 Thread MorningZ
LiveQuery would handle that http://brandonaaron.net/docs/livequery/ On Sep 26, 2:17 pm, thelemondropkid [EMAIL PROTECTED] wrote: Thanks to the help I have received on this group, I am making progress. But now that all is working fine, the question beckons: Can jQuery do it all over again?

[jQuery] Re: livequery and iui

2008-09-26 Thread Brandon Aaron
In this particular case event delegation might serve you better. Live Query really only works if you are using jQuery methods to modify/manipulate the DOM. The iui code does not use jQuery and that is why Live Query can't see those particular updates. -- Brandon Aaron On Fri, Sep 26, 2008 at

[jQuery] Re: Get parent url and add to a textarea

2008-09-26 Thread ricardobeat
Ok. Your instance of jQuery is living in the parent window, so you need to reference it from inside the pop-up. Use this inside your pop-up code: script type=text/javascript $ = window.opener.$; $(window).load(function(){ $('#message',document).val(window.opener.location.href); }); /script

[jQuery] re[jQuery] place input value with user entered text

2008-09-26 Thread claudes
i have this set up: tdinput type=text value=0 //td users enter number in text field. .blur() I need to pass the entered value to the value attribute. I'm able to get the value of the number entered in the text box but I cannot seem to pass it to the value attribute of the input

[jQuery] Reading XML elements with CDATA

2008-09-26 Thread russellneufeld
Apologies if this has been asked before. I couldn't find any topics on this when I searched. I have some XML which looks like the following: ?xml version=1.0? response status1/status html![CDATA[ tr tdRow 1, Column 1/td tdRow 1, Column 2/td /tr

[jQuery] add a new class for middle element

2008-09-26 Thread gepa
Hello I really like this script. I was wondering , how would be possible to add a class to the middle element ?! I mean, by default there are always 3 elements, and i would like the middle one to be different (to add it some css style). Thanks.

[jQuery] Re: how to use Current of superfish

2008-09-26 Thread ric
Hi Joel, finally i found time. a working example can be found under http://www.pbc-arnstorf.de/jquery/ Maybe it isnt working because we (you) changed the hover effect! I also now included the superfish-navbar.css which wasnt included by default. But it still doesn't work.

[jQuery] slide div height collapse

2008-09-26 Thread Anthony
Hello, I'm new to jQuery and have been partial to mootools, but wanted to play with jQuery for a particular web project. One thing that I've noticed is the following: Using mootools slide effect http://www.hovara.com/ocl/ Using jQuery slide effect http://www.hovara.com/ocl/jqueryindex.php

[jQuery] Using :empty for blank divs

2008-09-26 Thread Vinoj
I've got the following in the head of my document: script type=text/javascript $(document).ready(function() { $(.bc-wrapper:empty).addClass(none); }); /script and in the body, div class=bottom-content div class=bc-wrapper /div!-- end bottom content

[jQuery] Raising an event when a popup window is closing

2008-09-26 Thread Dan
I have a page with a popup that I want to raise an event for when the popup is being closed. Is there any event built-in to jQuery without any plugins that can be subscribed to for when a popup is closed? I can't seem to figure out any way to do this even without using jQuery. Is there any way

[jQuery] need help in making dynamic form validation

2008-09-26 Thread Geuis
Hi everyone, I'm hoping someone can help me learn the right way to do this. Its experimental for me at this point. Example code is at the bottom. So what I'm attempting to do is to do input form validation by loading a function which self-assembles an object that has its properties set as the ID

[jQuery] Re: Listen for location anchor change?

2008-09-26 Thread h3
I've worked on a clean solution for this a while ago: http://haineault.com/blog/37/ The examples above might not be up to date since the code has changed a bit since then: http://code.google.com/p/jquery-utils/wiki/AnchorHandler Code:

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-26 Thread Geuis
I keep seeing people talking about different ways to access the document of an iframe. This method(after much hairpulling and testing) works very well. $('iframeID').contents() The .contents() method will automatically handle the browser differences between contentWindow and contentDocument. It

[jQuery] [Validate] Validation + Masked Input Issue

2008-09-26 Thread Jeff Papp
I've been using the validation plugin along with the masked input pluging and I am noticing a possible bug. When you have a textbox that has an input mask on it and click on the submit button it validates the field correctly, but then if you focus into the field and then leave it will mark the

[jQuery] New Plugin - jMailer

2008-09-26 Thread shortStormTrooper
Hi all, I've written a new plugin for jQuery called jMailer which creates a popup form for sending an email with. It's just the front-end, but should be compatible with a back-end of your choice. A demonstration (which has been mapped to a single email address to prevent misuse) can be seen at:

[jQuery] Re: suggestion - enable() / disable() functions

2008-09-26 Thread livefree75
I actually *JUST* created enable disable functions: (function($) { /** * Disables the matched form elements, and adds the vardisabled/ var class * to them. * @return jQuery The matched elements. */ $.fn.disable = function() {

[jQuery] append empty string causes error

2008-09-26 Thread kape
I'm not sure if this is correct behavior or a bug, but if I append an empty string it causes an error. So $('#someId').append('') causes an error. In my case, I'm actually supplying a variable to append() but this variable could be an empty string. I don't see why appending nothing would cause

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread DejanNenov
John - There are quite a few of us who are big fans and have plenty of data center capacity. I am sure the community would be happy to mirror the site (you can have one of our small older server in our rack any time). Furthermore - RIMU hosting are great (I am a former client) if you need an app

[jQuery] jQuery not working while loaded 2nd time in drupal

2008-09-26 Thread ♫ cheskonov
Hi, i am working in a site made with drupal . there i am using ajax through jQuery for a polling options. the first time code runs nice ... as soon as some one submit one vote the poll section is loaded with the new result. now nothing works in that section. i am having these two major issues :

[jQuery] Re: append empty string causes error

2008-09-26 Thread MorningZ
I'd guess it was something else, as this code works just fine, no errors http://paste.pocoo.org/show/86303/ If appending or null was an issue, 'Bob' would never get shown On Sep 26, 3:15 pm, kape [EMAIL PROTECTED] wrote: I'm not sure if this is correct behavior or a bug, but if I append

[jQuery] Re: add a new class for middle element

2008-09-26 Thread Mauricio (Maujor) Samy Silva
HTML: div class=some-class pFirst element/p pSecond element/p pThird element/p /div jQuery: $('.some-class p:eq(1)' ).css('color', 'red'); -- jQuery pseudo-class :eq(i) targets the i-nd occurence of the obeject selected. Counts

[jQuery] Re: how do you toggle a checkbox value?

2008-09-26 Thread tlphipps
I would recommend using the attr() method of jquery like: checkbox.attr('checked') = !checkbox.attr('checked') On Sep 26, 12:01 pm, chris [EMAIL PROTECTED] wrote: I know there is a quirk with checkboxes, but I am under the impression that setting the check state to boolean values within

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-26 Thread Wayne
I was trying to put livequery in place on the site, but it seems to attach to pre-known events, like click, instead of new events, like editable. For instance, I'm trying to do this: $(.editable, .bline_measure caption).livequery(editable, function(value, settings) { Wanting

[jQuery] Re: how do you toggle a checkbox value?

2008-09-26 Thread MorningZ
var checkbox = $(# + checkboxId) // this is being found as expected The part you are missing is that checkbox is a jQuery object, not a checkbox DOM object so: checkbox.checked sure would error because there is no .checked property of a jQuery object so: checkbox[0].checked would work

[jQuery] jQuery and Zend Framework validation integration

2008-09-26 Thread jnemec
Hi all, I am going to use server-side Zend_Form data validation process and its result show with jQuery. I send form data via ajaxForm(); function and Zend controller validates data a returns information about validation result in json format: {status:error,messages:{email:{isEmpty:Value is

[jQuery] [validate] jQuery validation plugin in Drupal

2008-09-26 Thread Jeroen Coumans
Hi, When trying to use the validator plugin, I get the following error: missing : after property id edit-name: required, It seems like it has problems with the - that Drupal puts in the id's of each form field. Is there a workaround possible? Thanks, Jeroen Coumans

[jQuery] Re: [validate] Get form validation state without triggering errors

2008-09-26 Thread Jörn Zaefferer
You can call an internal API method, that should give you the desired result, though its subject to change in future versions. Let me know if it works for you! var validator = $(#myForm).validate(); // to check, call validator.checkForm(); Jörn On Thu, Sep 25, 2008 at 7:36 PM, dl [EMAIL

[jQuery] Re: treeview

2008-09-26 Thread Jörn Zaefferer
Random errors in IE6 can be caused by the packed version of jQuery. Try to use minified(+gzip) to get around that. Treeview works best with small trees. How big is your menu? I can't find it on the URL you provided. Jörn On Fri, Sep 26, 2008 at 2:21 PM, bdct [EMAIL PROTECTED] wrote: Hello i

[jQuery] Re: [Validate] Validation + Masked Input Issue

2008-09-26 Thread Jörn Zaefferer
Could you file a ticket for this? http://dev.jquery.com/newticket (requires registration) Thanks! Jörn On Fri, Sep 26, 2008 at 6:30 PM, Jeff Papp [EMAIL PROTECTED] wrote: I've been using the validation plugin along with the masked input pluging and I am noticing a possible bug. When you

[jQuery] Re: jQuery and Zend Framework validation integration

2008-09-26 Thread Jörn Zaefferer
Setup ajaxForm with dataType:json. Then your success-callback will get a parsed JavaScript object as the first argument. $(#myform).ajaxForm({ dataType: json, success: function(data) { // iterate over data.messages and display labels? } }); Jörn On Fri, Sep 26, 2008 at 11:56 PM,

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-26 Thread Jörn Zaefferer
Yes, details can be found here: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Sat, Sep 27, 2008 at 2:34 AM, Jeroen Coumans [EMAIL PROTECTED] wrote: Hi, When trying to use the validator plugin, I get the following error: missing

[jQuery] Re: need help in making dynamic form validation

2008-09-26 Thread Jörn Zaefferer
Give the validation plugin a try instead: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Just call $(#form1).validate(); and add a few classes to your form elements, eg. class=required for required fields, or email etc. A list of available methods is here:

[jQuery] Re: Tabs with multiple CSS classes

2008-09-26 Thread Dan Baughman
Thank you kindly sir, that did exacly what I wanted. I only had to use the navClass: 'my-ui-tabs-nav' option. Is looking at the noncompressed code the best way to figure that stuff out with out having to ask? On 9/26/08, Klaus Hartl [EMAIL PROTECTED] wrote: You can change the class names

[jQuery] Re: Raising an event when a popup window is closing

2008-09-26 Thread ricardobeat
Use the unload event: $(myWindow).bind('unload', function(){alert(Closed.)}); - ricardo On Sep 26, 11:52 am, Dan [EMAIL PROTECTED] wrote: I have a page with a popup that I want to raise an event for when the popup is being closed. Is there any event built-in to jQuery without any plugins

[jQuery] Re: Can jQuery do it again and again?

2008-09-26 Thread Ariel Flesler
I think this is the most appropiate response for this recurrent question: http://docs.jquery.com/FAQ#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Ariel Flesler http://flesler.blogspot.com/ On Sep 26, 3:17 pm, thelemondropkid [EMAIL PROTECTED] wrote: Thanks to the help I have