[jQuery] Help with jquery on my website

2010-01-27 Thread Geoffrey Gordon
http://www.blazewebstudio.co.za/Network_2/index.html please help me with the j-query problems on the top horizontal and the side vertical accordion, it bounces and the overflow is out of whack. Also the menu is sometimes strange if you go over it too fast, I Know too many problems but please

[jQuery] Re: jQuery 1.4 LiveQuery

2010-01-15 Thread Gordon
In 1.4 the built in live() function has been heavily extended, so perhaps you can switch to using that instead? On Jan 15, 12:35 am, Jon Bennett jmbenn...@gmail.com wrote: hi, I've been using LiveQuery a fair bit in my projects, I've just tried updating to 1.4, and it appears to have broken

[jQuery] Re: Generating a CSV of values from a bunch of Checkboxes with same id

2010-01-11 Thread Gordon
I think I should point out that you can't have more than one element with the same ID, they are by definition unique. The reason is that the getElementById method depends on there being only one item with the ID passed to it in the DOM. If there is more than one item then behaviour is undefined.

[jQuery] Re: Only one of two fields is required. How to implement this logic in Jquery form validation?

2009-10-12 Thread Gordon
If you're using the Metadata plugin and inline rules: input type=text id=a class={validate:{required:'#b:blank'}} / input type=text id=b class={validate:{required:'#a:blank'}} / I've not actually tested it but it should work. On Oct 11, 4:37 am, Phper hi.steven...@gmail.com wrote: There are

[jQuery] [Validate]: Help with groups of checkboxes

2009-08-25 Thread Gordon
I've been struggling with this for a couple of days now. I'm building pages with tables containing checkboxes. Each row of the table represents a grouping of checkboxes, The rows are generated in a PHP loop and have the format: trtdinput type=checkbox name=question[row_number]

[jQuery] [validate] Help with groups of checkboxes

2009-08-25 Thread Gordon
Sorry, incorrect title

[jQuery] [validate] Radios with empty values and required:true

2009-08-24 Thread Gordon
I'm working on a survey builder that lets people generate web forms for collecting user data. Form builders can create forms with various controls on them. At the moment I'm building in a jQuery validate layer (there is also a server side validation layer, but I want to keep users from making

[jQuery] jQuery Cycle Manual With Text?

2009-08-19 Thread Ian Gordon
I am trying to create something like this: http://i27.tinypic.com/29p3woi.jpg The text would be a span tag or something similar. The progress buttons don't have to be the dots I can use floated next and previous arrows. Is this doable using jQuery Slideshow or Cycle, preferably Cycle since it

[jQuery] Re: Parsing a very large xml file

2009-06-02 Thread Gordon
Your best bet in that case is trying to talk your client out of it then. XML is not a very efficient format for data and a file containing effectively the entire database is only ever going to be huge and unwieldy. If you're processing it in a browser it's simply going to be slow, there's no

[jQuery] [Validate]: Exception thrown by validator.

2009-05-20 Thread Gordon
We recently did an update on our website, http://www.equanet.co.uk with a design refresh and an update to the library of javascript. We upgraded jQuery to 1.3.2, the validator to 1.5.1 and various other libraries and plugins to their latest version. Doing this seems to have broken the

[jQuery] Re: [Validate]: Exception thrown by validator.

2009-05-20 Thread Gordon
, while the header says 1.5.2. Please make sure you are really using 1.5.2! Jörn On Wed, May 20, 2009 at 12:52 PM, Gordon grj.mc...@googlemail.com wrote: We recently did an update on our website,http://www.equanet.co.uk with a design refresh and an update to the library of javascript.  We

[jQuery] Re: [Validate]: Exception thrown by validator.

2009-05-20 Thread Gordon
. Jörn On Wed, May 20, 2009 at 1:39 PM, Gordon grj.mc...@googlemail.com wrote: Sorry, my mistake. We originally rolled out with 1.5.1 and then upgraded to 1.5.2 today when the error came to light.  Doing so didn't fix the problem. On May 20, 12:31 pm, Jörn Zaefferer joern.zaeffe

[jQuery] Preventing certain child elems triggering a parent event

2009-04-24 Thread Gordon
I'm adding a feature to a table where it can have a compact r a verbose display. When in compact mode a class is added to the table causing various various elements in the table cells to match a CSS rule to set them display: none. I want to be able to expand individual rows by clicking to them

[jQuery] Re: 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-23 Thread Gordon
I would have thought you could do it with $('.selector').live ('mousrover', myMouseOverFunc).live ('mouseout', myMouseOutFunc); On Apr 11, 8:36 pm, Walther waltherl...@gmail.com wrote: I am looking for a way to simulate the actions of the hover (or mouseenter/mouseleave) whilst using the live

[jQuery] Re: How to block control + plus/minus key?

2009-04-15 Thread Gordon
If you can find a reason why she doesn't want people to zoom I'd appreciate it. Other than having a personal vendetta against the visually-impaired I can't think of a single good reason. It's pretty much moot anyway as there's just no way to do it. In the bad old days of IE6 specifying font

[jQuery] Re: How to block control + plus/minus key?

2009-04-03 Thread Gordon
Why the hell would you want to do that? Those are the shortcuts for zooming the page. People who want to zoom the page usually want to do so because they're having difficulty reading the default font size. Indifference to accessibility needs is bad enough but deliberately wanting to disable

[jQuery] Re: Form inside Form value

2009-02-27 Thread Gordon
You cannot have forms within forms, they violate the rules regarding how a HTML document should be structured. Furthermore, the browser and the server both have no clue how to deal with them. On Feb 27, 9:18 am, Po01 diogoapa...@gmail.com wrote: Hi, i have a HTML like that: form 1 form 2

[jQuery] [validate]: Tricky multiple field validation problem

2009-02-18 Thread Gordon
I want to include an optional set of date setting fields on a form - A dropdown for day (01 - 31 with a blank value), a dropdown for month (01 - 31 with a blank value) and a four digit year input field. The validation is as follows: * The date is optional, if all fields are blank then assume no

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Gordon
.each isn't the best choice in this case, a good old-fashioned for loop will be significantly faster. Also, use an array of strings instead of a single one and string concatenation. Using array.push () is faster than using the += operator on a string. Once the loop finishes use join () to get

[jQuery] Re: How to block the javascript engine when jQuery.ui.dialog is pop up?

2009-01-28 Thread Gordon
The only way would be to not have any javascript statements after the open statement. If, however, you mean you don't want users triggering other events or interacting with the page after a dialog has been opened then you can do this by simply setting the dialog modal:true. On Jan 28, 3:16 am,

[jQuery] Re: 1.3.1 is over 10x slower than 1.2.6

2009-01-23 Thread Gordon
I know you've already said you can't release the code of your actual project, but would it be possible for you to construct some test cases that demonstrate the speed penalty that you are suffering in 1.3 compared to 1.2? It would be interesting to see what circumstances are triggering this and

[jQuery] jQuery 1.3 incompatible plugins

2009-01-22 Thread Gordon
Is there a list of plugins that aren't compatible with jQuery 1.3 or that have been updated in order to do so? I'd like to be able to check my plugins against a list if there is one before upgrading so I don't get any nasty surprises.

[jQuery] jQuery 1.3 incompatible plugins

2009-01-22 Thread Gordon
Just a quick question, is there a list of plugins that don't work with jQuery 1.3, or a list of plugins that have been upgraded to work with it? I want to be able to quickly check my list of plugins against a list of known incompatibilities before upgrading.

[jQuery] Re: jQuery 1.3 incompatible plugins

2009-01-22 Thread Gordon
stefan.s.st...@googlemail.com wrote: Hello, good Question. I have problems with Fancybox and jQuery 1.3... Greetings, Stefan Sturm 2009/1/22 Gordon grj.mc...@googlemail.com: Just a quick question, is there a list of plugins that don't work with jQuery 1.3, or a list of plugins that have

[jQuery] Re: Validate: Meta class and markup validation

2009-01-21 Thread Gordon
characters for embedding - no idea whats valid for XHTML 1.1. Jörn On Tue, Jan 20, 2009 at 3:39 PM, Gordon gordon.mc...@ntlworld.com wrote: We've been making ever more use of the excellent jquery.validate plugin on our various sites.  In order that we don't have to write a validation script

[jQuery] Validate: Meta class and markup validation

2009-01-20 Thread Gordon
We've been making ever more use of the excellent jquery.validate plugin on our various sites. In order that we don't have to write a validation script for every page with a form we have been using the embedded class style of rule definition, and as the rules we need for validation have grown

[jQuery] Re: Meta Data within elements

2009-01-13 Thread Gordon
You could try the jQuery metadata plugin if you need the metadata to be in the markup itself. If you don't then using data is probably a better approach. On Jan 12, 3:46 pm, alexquery alext...@gmail.com wrote: I am creating a product/category tree using jquery. I would like to be able to store

[jQuery] Re: Is this code legitimate?

2008-12-24 Thread Gordon
$('input.required') would be faster. On Dec 24, 1:52 am, Rick Faircloth r...@whitestonemedia.com wrote: Is this legit? $(':input[class$=required]') I know it'll work for a div: $('div[class$=required]') but it doesn't seem to work to designate an input with a class that has required on

[jQuery] Re: Browser Hangs while hiding 2K+ table rows

2008-12-23 Thread Gordon
I wrote a test page with 4 different methods for hiding the rows. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / titleUntitled

[jQuery] Re: Change image to black and white on hover

2008-12-23 Thread Gordon
The only way to do that without a separate black and white image would be to use the filter CSS property, which is nonstandard and would only work in internet explorer. On Dec 23, 11:16 am, Paul Collins pauldcoll...@gmail.com wrote: Hi all, I'd like to think this is possible with JQuery, but

[jQuery] Re: Activate tab then scroll to an element

2008-12-19 Thread Gordon
Does a tab have some kind of After make visible event handler I can wait for? On Dec 18, 4:16 pm, Gordon gordon.mc...@ntlworld.com wrote: I've got a jQuery script that makes links open in a new JavaScript window, to show a page of content regarding jargon.  However, that content is now being

[jQuery] Activate tab then scroll to an element

2008-12-18 Thread Gordon
I've got a jQuery script that makes links open in a new JavaScript window, to show a page of content regarding jargon. However, that content is now being moved into a UI tab in the current page, instead. I want to modify my script to activate the tab and then jump down to an element with an ID

[jQuery] Re: Optimized Code

2008-12-16 Thread Gordon
Don't run functions that return the same result multiple times, run them once and store the results in a variable. Example: $(document).ready () { var checkedVal = $('input:checked').val(); if (checkedVal = 'city') { // } } If you need to run more than 1 operation

[jQuery] Re: .html() is rewriting to amp;

2008-10-14 Thread Gordon
That's the correct behaviour, the character has special meaning in HTML so it needs to be escaped. Unless it causes a specific problem I'd suggest ignoring it. On Oct 14, 2:56 am, rmirabelle [EMAIL PROTECTED] wrote: the .html() function is rewriting all instances of to amp; without my

[jQuery] Re: Valdiation plugin request

2008-09-29 Thread Gordon
lookup the .rules method in the documentation :) On Sep 28, 8:52 pm, Wokkel [EMAIL PROTECTED] wrote: Hi all, I am successfully using the validation plug in and i would like a request to make it more easier to have a form in several different divs for a multi step layout. I solved a multi

[jQuery] Adding Arrows to a DropDownMenu based on Lists

2008-09-22 Thread Gordon Bergling
, background-position: right center }); The problem I am facing right know is, that not every parent has childs and therefor it shouldn't get an arrow assigned. I tried various filters but without any luck. Does anyone has a hint on solving? best regards, Gordon

[jQuery] Re: shadowbox resize iframe after content loads

2008-09-08 Thread Gordon
the information of this element... Just try it yourself maybe it works! On 5 Sep., 13:48, Gordon [EMAIL PROTECTED] wrote: Thanks for the help, this is a good start as it lets me hook into shadowbox load, but I'm still stuck with the other side of the problem.  What I need to do is grab

[jQuery] Re: shadowbox resize iframe after content loads

2008-09-08 Thread Gordon
That's what I feared, but I was hoping there was a way around it. On Sep 8, 2:18 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Gordon, Someone else can correct me if I'm wrong (please), but as I understand   it, if the content within the iframe comes from a different domain,   you won't

[jQuery] Porn on jQuery blog

2008-09-05 Thread Gordon
You might want to pick better subject lines when reporting such stuff in future, at first glance I thought you were just a spammer. On Sep 5, 8:25 am, tlob [EMAIL PROTECTED] wrote: in the comment section:http://jquery.com/blog/2007/02/17/the-jquery-irc-channel/

[jQuery] Re: shadowbox resize iframe after content loads

2008-09-05 Thread Gordon
Can nobody help out with this? On Sep 3, 12:06 pm, Gordon [EMAIL PROTECTED] wrote: On our website I am using a shadowbox to view videos hosted on another site in the product page window. The problem is that recently the company hosting the videos have started providing several different

[jQuery] Re: shadowbox resize iframe after content loads

2008-09-05 Thread Gordon
).load(function(){ var options = { onFinish:function() { // do what you want here // resize the shadowbox etc... } }; Shadowbox.init(options); }); On 5 Sep., 10:15, Gordon [EMAIL PROTECTED] wrote: Can nobody help out with this? On Sep 3

[jQuery] shadowbox resize iframe after content loads

2008-09-03 Thread Gordon
On our website I am using a shadowbox to view videos hosted on another site in the product page window. The problem is that recently the company hosting the videos have started providing several different size of videos. All the different video pages, however, have an element with an ID of

[jQuery] Re: Travel a Table filtered by checked Checkboxes

2008-08-29 Thread Gordon Bergling
Hi Brian, your approach worked like a charm. thanks and best regards, Gordon On 28 Aug., 18:17, Brian Schilt [EMAIL PROTECTED] wrote: Would you be able to store the Reference Number in the value attribute of the checkbox? That would make things a lot easier. input type='checkbox' name

[jQuery] Re: Validate and dynamically added controls

2008-08-28 Thread Gordon
] wrote: Well, a testpage would help debugging it a lot. Jörn On Fri, Aug 15, 2008 at 11:03 PM, Gordon [EMAIL PROTECTED] wrote: That's kinda odd, I do do the validate() on the form on document ready, and I'm getting no javascript errors of any kind. The rule being added just isn't executing

[jQuery] Re: Validate and dynamically added controls

2008-08-28 Thread Gordon
mind updating to validate 1.4? I don't want to debug your app just to discover a bug that was fixed long ago. Jörn On Thu, Aug 28, 2008 at 11:36 AM, Gordon [EMAIL PROTECTED] wrote: I've managed to get an example up for you to look at now, it's at http://cms.merus.co.uk/editsurvey.php.htmland

[jQuery] Re: Firefox 3 and packed jQuery

2008-07-21 Thread Gordon
Have you tried the minified or raw versions in place of the packed one? Does your code work as expected if you do? I think the common consensus these days that best practice is to use the minified version instead of the packed one and enable gzip compression on the server. On Jul 21, 5:51 am,

[jQuery] Re: how to stop jquery execution

2008-07-21 Thread Gordon
for (var x = 0; (x max !aborted); x++) { // loop } attach this to the onclick event of a button: aborted = true; On Jul 20, 8:30 am, robert123 [EMAIL PROTECTED] wrote: I have jquery for loop it runs for about an hour doing some processing before stopping. In the for loop it execute

[jQuery] Re: Minifying

2008-07-21 Thread Gordon
The packed version uses the Dean Edwards packer, I believe the minified version uses YUI. On Jul 20, 4:47 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was curious what the jQuery guys use to minify their files? I saw there are two big ones out there, JSMin and YUI Compressor and was just

[jQuery] Re: document.write and DOm creation - performance optimization?

2008-07-17 Thread Gordon
I could be wrong about this, but my understanding is that strings are immutable in JavaScript. Every time you append to a string what's actually happening is that a new string object is being created with its contents set to be the first string plus the second string, whereas the original string

[jQuery] Re: Shadowbox 2.0rc1

2008-07-03 Thread Gordon
Of Gordon Sent: Wednesday, July 02, 2008 4:19 AM To: jQuery (English) Subject: [jQuery] Re: Shadowbox 2.0rc1 I was having a few problems with the first shadowbox and was interested to see if there were additions that would get me around them, but it seems the license has changed and I

[jQuery] Re: Shadowbox 2.0rc1

2008-07-02 Thread Gordon
I was having a few problems with the first shadowbox and was interested to see if there were additions that would get me around them, but it seems the license has changed and I don't think I can get my employer to fork out for a license as money is currently very tight. On Jul 1, 5:44 pm,

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-30 Thread Gordon
And don't forget tbody, which is really handy if you need to subdivide the rows of a table up into smaller blocks. You can have multiple tbodys per table as long as they don't overlap. Dean Landolt wrote: Hi again, you replied directly to me with this: Awesome! Now 1 more question.

[jQuery] Re: Trying to use jQuery to do the same effect on multiple links.

2008-06-27 Thread Gordon
Best bet is probably give a class to everything you want to apply the effect to and then use the class as your jQuery selector. On Jun 26, 10:40 pm, Pegpro [EMAIL PROTECTED] wrote: I am currently using: jQuery.noConflict(); jQuery(document).ready(function(){

[jQuery] Re: How can i use condition not exist?

2008-06-25 Thread Gordon
$.cookie ('test') will return your cookie if it's been set, but it will return an empty collection if it's not. An empty collection doesn't evaluate to false so your test won't work. You need to test if the collection returned by $.cookie contains something meaningful. On Jun 25, 9:04 am,

[jQuery] Re: How to auto bind event to a new created element?

2008-06-25 Thread Gordon
Try livequery On Jun 25, 9:36 am, 晃晃悠悠~~~ [EMAIL PROTECTED] wrote: hi,all I bind some events to a list just like below: $(document).ready(function(){ $(oUL li).click(function(){ // do something here }); }); but now I need

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread Gordon
$.browser.version On Jun 16, 7:38 am, mtest [EMAIL PROTECTED] wrote: I know that jQuery can define browser: $.browser.msie $.browser.safari $.browser.opera $.browser.mozilla but can I define version??? IE 7.0 - ? IE 6.0 - ? IE 5.0 - ?

[jQuery] Re: AJAX data inserted into DOM does not trigger click-event

2008-06-16 Thread Gordon
I haven't heard of the Listen plugin before. How does it stack up against livequery? On Jun 15, 9:47 pm, Kevin Pepperman [EMAIL PROTECTED] wrote: Have you tried the listen plugin? It works with dynamicly added content. http://plugins.jquery.com/project/Listen On Sun, Jun 15, 2008 at

[jQuery] Re: Cross site Ajax requests

2008-06-10 Thread Gordon
You oculd either proxypass if you have access to Apache's config file, or you could put a simple PHP script on the domain the AJAX application is running on to fetch data from the other domain. The proxypass approach is by far the best one, but you can only use it if you have the ability to edit

[jQuery] Re: Selecting elements with multiple classes

2008-06-04 Thread Gordon
Says it found 2 rows here, which looking at the source code is exactly the expected behaviour. On Jun 4, 12:31 am, Mike Alsup [EMAIL PROTECTED] wrote: Yes, it is the way how it works. I have managed to do it as $(tr[class^='child']) Which selects all classes like class=child test

[jQuery] Re: Livequery event firing multiple times

2008-06-02 Thread Gordon
of Live Query. Try moving the Live Query block outside the 'click' binding block ... within the document.ready block. -- Brandon Aaron On Fri, May 30, 2008 at 8:35 AM, Gordon [EMAIL PROTECTED] wrote: I'm working on a survey builder which will allow users to create online surveys and polls

[jQuery] Livequery event firing multiple times

2008-05-30 Thread Gordon
I'm working on a survey builder which will allow users to create online surveys and polls. I decided to use livequery to build it as it involves lots of adding and deleting of DOM items that have associated events. I'm still at an early stage of development but I've run into a snag. The

[jQuery] Re: Display loading image while alternate image loads.

2008-05-29 Thread Gordon
There's a simple way to have a loading image without any javascript at all. Simply use CSS. Either give the image in question a background image which serves as your loading image (I've not tried this out so am not sure it would work), or if that approach doesn't work, wrap your image in

[jQuery] Re: Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-21 Thread Gordon
Isn't jerky here. What browser and machine spec are you using? On May 19, 7:27 pm, Ariel Barreiro [EMAIL PROTECTED] wrote: I am new to jquery but an experience developer. Here's the code actually running: http://guilespi.dyndns.org/jquery/bounceimage/

[jQuery] Re: Write to a file?

2008-05-16 Thread Gordon
possible on browsers other than IE. On May 14, 7:26 pm, Gordon [EMAIL PROTECTED] wrote: If ou mean writing to a file on the server, yes it's possible with AJAX but will require some cleverness. it's a bit mroe complex than just submitting a form. If you mean on the user's machine, javascript

[jQuery] Re: Yet more validation questions

2008-05-16 Thread Gordon
, Gordon [EMAIL PROTECTED] wrote: 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

[jQuery] Re: Highlight code WITHIN a textarea?

2008-05-16 Thread Gordon
I was having this problem too. There are a couple of javascript editors that'll do the job but none of the ones I've found really do a flawless job of it. EditArea was the most compatible of the ones I found, but was also slow as hell. On May 16, 7:46 pm, hubbs [EMAIL PROTECTED] wrote: Is

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

2008-05-15 Thread Gordon
I'm trying to apply jquery.validate to a form with an input field of type file. I thought I could make it required and accept only .html files, but no matter the value of the field it always got marked as being invalid. I thought maybe my syntax was wrong in the metadata (I was using

[jQuery] Re: jquery.validate class toggling

2008-05-15 Thread Gordon
That did it, thanks. On May 14, 5:42 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Right, because showErrors usually calls highlight/unhighlight, didn't thought of that. Try to specify errorPlacement instead. Jörn On Wed, May 14, 2008 at 6:17 PM, Gordon [EMAIL PROTECTED] wrote: Thanks

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

2008-05-15 Thread Gordon
I have a form with two submit buttons. input type=submit name=submit value=Submit form / input type=submit name=cancel value=Cancel / On the server side I have a PHP script that ichecks if $_POST ['cancel'] has a value. If it doesn't then it runs through the form submit process. If it does

[jQuery] Yet more validation questions

2008-05-15 Thread Gordon
I want to extend the provided cxreditcard method to count a sequence of * characters followed by 4 digits as a valid value. I need this for a form where the credit card can be populated from a previously saved value. Naturally we don't want to display the full number for security reasons but we

[jQuery] Re: Yet more validation questions

2008-05-15 Thread Gordon
and the element to validate. var element = $(...)[0]; if (jQuery.validator.methods.creditcard(element.value, element)) // valid else // invalid Jörn On Thu, May 15, 2008 at 4:14 PM, Gordon [EMAIL PROTECTED] wrote: I want to extend the provided cxreditcard method to count a sequence

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

2008-05-15 Thread Gordon
. Jörn On Thu, May 15, 2008 at 1:46 PM, Gordon [EMAIL PROTECTED] wrote: I have a form with two submit buttons. input type=submit name=submit value=Submit form / input type=submit name=cancel value=Cancel / On the server side I have a PHP script that ichecks if $_POST

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

2008-05-15 Thread Gordon
Validation works just fine. Maybe anything else you are missing? Testpage? Jörn On Thu, May 15, 2008 at 12:27 PM, Gordon [EMAIL PROTECTED] wrote: I'm trying to apply jquery.validate to a form with an input field of type file. I thought I could make it required and accept only .html files

[jQuery] jquery.validate class toggling

2008-05-14 Thread Gordon
I'm looking into various form validating libraries and one of the ones I'm considering is jquery.validate. It appears at first glance to be very flexible, but its documentation is a bit overwhelming at first glance! In my forms I'm using the following structure for fields and associated text.

[jQuery] Re: Write to a file?

2008-05-14 Thread Gordon
If ou mean writing to a file on the server, yes it's possible with AJAX but will require some cleverness. it's a bit mroe complex than just submitting a form. If you mean on the user's machine, javascript is deliberately prevented from writing anything but cookies. On May 14, 10:59 am, Sid

[jQuery] Re: jquery.validate class toggling

2008-05-14 Thread Gordon
, Gordon [EMAIL PROTECTED] wrote: I'm looking into various form validating libraries and one of the ones I'm considering is jquery.validate. It appears at first glance to be very flexible, but its documentation is a bit overwhelming at first glance! In my forms I'm using the following

[jQuery] Re: growl for jquery

2008-05-12 Thread Gordon
Interesting idea, but the notifications really could do with some kind of close button to dismiss them early. The real Growl has dashboard widget style close buttons that appear on mouse over. On May 12, 12:55 am, Rey Bango [EMAIL PROTECTED] wrote: Growl for jquery

[jQuery] Re: optimization in jquery

2008-03-06 Thread Gordon
Without any specifics there's no way of saying. What are you trying to do, what does your code look like, and what does your HTML look like? On Mar 6, 2:45 am, Jean-Sébastien [EMAIL PROTECTED] wrote: hi, when i work on a big div tag (containing lots of others elements) browser freeze, during

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Gordon
IDs are supposed to be, by definition, unique. They are there so that scripting languages and CSS style rules can easily identify single elements. If your markup has more than one element with the same ID in it, then your markup is broken. If you have more than one element that needs to have

[jQuery] Re: selectors: selecting every element that is not children of another div

2008-02-25 Thread Gordon
That would probably work but I wouldn't want to try it because I can't imagine any non-trivial page where it would complete this century. :) Then again I can't imagine why on Earth the OP would actually want to be doing this in the first place. Perhaps if you (the OP) can give us a description

[jQuery] jQuery.validate versus jQuery.yav

2008-02-25 Thread Gordon
We have a lot of forms on our site that are using a script called fValidate for client side validation. However, fValidate is not very friendly to use, hasn't been updated in years, causes incompatibilities with jQuery in IE6 and is just generally horrible. We're looking to replace it with

[jQuery] Re: Port FCK/TinyMCE to jQuery

2008-02-21 Thread Gordon
download size. On Feb 20, 5:27 pm, tlphipps [EMAIL PROTECTED] wrote: Regarding using jquery to 'attach' the editor, there is a plugin that I believe does just that:http://groups.google.com/group/jquery-en/browse_thread/thread/d33630d... On Feb 20, 10:33 am, Gordon [EMAIL PROTECTED] wrote

[jQuery] Re: a small accessibility rant

2008-02-18 Thread Gordon
On Feb 15, 4:46 pm, Rick Faircloth [EMAIL PROTECTED] wrote: Gordon... How do you propose I handle making my site accessible to those who are blind and deaf? Should all developers be required to code sites that can be printed in Braille by specially designed million dollar systems? All

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Gordon
I'm sorry, but your attitude sucks. As a) a jQuery developer and b) a person with serious eyesight problems I always take great care to ensure code I develop doesn't impose accessibility issues. It really isn't that hard and your callous attitude towards doing work that's not only politically

[jQuery] OT: TinyMCE help

2008-02-15 Thread Gordon
I know this is OT but I couldn't find muchuseful on the TinyMCE home page and there doesn't seem to be a support forum at all. I'm building a CMS and am using jQuery and TinyMCE together for the user interface. I wanted to have an image picker, where you just pick an image from the list of

[jQuery] Re: Selecting Descendents of This

2008-02-13 Thread Gordon
Try $('ul', this) On Feb 12, 10:14 pm, studiobl [EMAIL PROTECTED] wrote: I'm having trouble selecting descendents of this So, this works to initially hide uls: $(.treeHeader ul).toggle(); But this doesn't work to toggle them: $(.treeHeader).click(function(){ $(this + ul).toggle(); });

[jQuery] Slow script startup times in IE6

2008-02-11 Thread Gordon
A few months back I wrote the client side code for our IT assistant (http://www.pcwb.com/assistants/) as a project to find more interesting ways for people to shop. The idea being that if we give the users an interesting user interface that encourages them to play with it then they might be more

[jQuery] Re: getElementById('myTable').rows[1].cells[2] in jQuery?

2008-02-08 Thread Gordon Roman
Somthing Like This $(document).ready(function(){ $('#btn').click(function (){ alert($(#myTable tr:eq(1) td:eq(2)).html()); }); }); paulj wrote: In JavaScript, getElementById('myTable').rows[1].cells[2] would select the cell that is in 2nd row of the 3rd column. What is the

[jQuery] UI: Autogenerated tabs

2007-12-07 Thread Gordon
I am looking into using jQuery for implementing tabs. Up to now we've been using the Tabber library (www.barelyfitz.com/projects/tabber/), and have been happy with the unobtrusive tabs it creates. However, we have a minor nightmare of javascripts from disparate libraries scattered all over our

[jQuery] Re: Job for everyone submit your resume now

2007-11-30 Thread Gordon
img src=http://i26.photobucket.com/albums/c103/wulfweard/september06/ spam-c07.jpg / On Nov 30, 2:48 am, kunal sinha [EMAIL PROTECTED] wrote: Job for everyone submit your resume now *Pls sends your CV in **www.allindiajobbank.com*http://www.allindiajobbank.com/ * website. It is fast and

[jQuery] Re: Noob question: How to access a PHP variable and append it to the html?

2007-11-30 Thread Gordon
Your best approach would be to write a PHP script that serves data in XML or JSON format and then invoke the script from a $.ajax call in jQuery. Then you process the data you get back and insert it into your document as appropriate. Sorry for being vague, but without more information that's

[jQuery] Re: does jquery 1.2.1 support xpath????

2007-11-25 Thread Gordon
I'm not sure but I believe that xpath might have been moved from the core in 1.2 to a plugin, on the grounds that most people use CSS selectors. On Nov 24, 10:25 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I find something strange in last release. Xpath expressions doesn't work For example

[jQuery] Re: Autosuggest

2007-11-21 Thread Gordon
, but for FF is very good =p On Nov 20, 2007 7:37 AM, Gordon [EMAIL PROTECTED] wrote: $(document).ready (function () { var searchBox = $('input type=text name=addrSearch id=addrSearch /'); var addrList= $('#storedAddresses li'); var matchErr= $('li

[jQuery] Configuring WYMEditor

2007-11-21 Thread Gordon
For the CMS I am currently working on I have decided to go with WYM as the inline HTML editor. TinyMCE seems to do weird things that preclude using FireBug to debug scripts. From what I've been able to figure out from the documentation it is possible to have external events trigger editor

[jQuery] Re: Autosuggest

2007-11-20 Thread Gordon
:54 pm, Gordon [EMAIL PROTECTED] wrote: Thanks for the suggestion, but it came too late. I've now already written something that seems to work pretty well. Will post source later for comments and in the hopes someone else will find it useful. On Nov 19, 6:49 pm, Sean O [EMAIL PROTECTED] wrote

[jQuery] Re: fValidate breaks jQuery

2007-11-20 Thread Gordon
I could really use some help with this so if you've run into this problem then please let me know what workarounds exist On Nov 19, 2:57 pm, Gordon [EMAIL PROTECTED] wrote: I am making an autocomplete text box for a page that also uses fValidate for form validation. As much as I might want

[jQuery] Autosuggest

2007-11-19 Thread Gordon
I currently have a brief to develop a system to help people find addresses in a list loaded into a web page. At the moment they're displayed as a single long list (a ul), and the oser clicks the one he wants to use. The problem is that in some cases this list can run to hundreds of entries.

[jQuery] Re: Autosuggest

2007-11-19 Thread Gordon
wise. Additionally it doesn't need any ajax support as the UL with all the addresses in it is already on the page. I just need to process that list, and use it as the basis of the autocomplete. On Nov 19, 10:16 am, Gordon [EMAIL PROTECTED] wrote: I currently have a brief to develop a system

[jQuery] fValidate breaks jQuery

2007-11-19 Thread Gordon
I am making an autocomplete text box for a page that also uses fValidate for form validation. As much as I might want to I can't ditch fValidate in favour of another library as there isn't time, but it seems that fValidate refuses to play nice with jQuery. Trying to add content to the page with

[jQuery] Re: tinyMCE jquery equivalent

2007-11-19 Thread Gordon
There is WYMeditor, but last time I saw it in action it wasn't nearly as powerful as TinyMCE. I don't think there's any particular reason why the two scripts wouldn't play nicely though, is there any particular reason you want a jQuery based editor? On Nov 19, 2:46 pm, FrankTudor [EMAIL

  1   2   3   >