Re: [jQuery] After donating how do I download a book title?

2010-01-18 Thread Brett Ryan
My apologies, I'm sure that was not on there when I made the donation as I did read the whole page. -Brett 2010/1/17 Nicolai Constantin Reuschling > Brett, > > have you even read the website: http://jquery14.com/donate > > "The jQuery Project will send you an em

[jQuery] Masked Input plugin, changing values

2010-01-14 Thread Brett Ritter
wipes the existing value of the field. I can tweak the plugin to do what I want, but now I'm running a fork. Has anyone else dealt with this? Am I missing an obvious way of doing this? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] After donating how do I download a book title?

2010-01-14 Thread Brett Ryan
I made a donation with the current promotion to receive a free ebook, but was not sent anything to download a title. How do I download the title?

[jQuery] Re: very simple jQuery not working

2009-12-16 Thread Brett Alton
I was looking for .keyup() not .change(), sorry. Please ignore. On Dec 16, 3:37 pm, Brett Alton wrote: > >         >                 src="<a rel="nofollow" href="http://ajax.googleapis.com/ajax/">http://ajax.googleapis.com/ajax/</a> >

[jQuery] [Masked Input] Variable length fields / inner padding

2009-12-16 Thread Brett Ritter
and pad the section before it, hopefully without having to effectively rewrite the plugin. Ideas? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] jQuery, $.ajax and reCAPTCHA

2009-12-10 Thread Brett Alton
I'm trying to get jQuery to asynchronously load my recaptcha module, but it doesn't seem to like the fact that "echo recaptcha_get_html ($publickey);" spits out a mixture of HMTL and Javascript. Here's the code I am trying: $.ajax({ url: "inc/captcha.php",

Re: [jQuery] Re: Problem with plugins

2009-11-27 Thread Brett Ritter
27;t loading, those URLs are quite likely involved. We have no way of knowing if they are indeed working since we don't see the output. Try sending the HTML the browser is getting. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: how to replace all the '[]' to be '' in $.SortSerialize('MDEExportedList').hash

2009-10-01 Thread Brett Ritter
On Thu, Oct 1, 2009 at 1:18 PM, Junhua Gao wrote: >  I use $.SortSerialize('MDEExportedList').hash.replace('[]','') >   but only the first one is replaced. I thought replace() only replaced the first instance unless a regex with global flag was used

[jQuery] Re: Way to "convert" DOM event to jQuery event?

2009-09-24 Thread Brett Ritter
On Thu, Sep 24, 2009 at 12:10 PM, Kevin Dalman wrote: > > If you need data for multiple fields, then a 3rd option is to create a > single hash/data object for the page and writing all your data into > that. This makes your data easy to read and debug, and is highly > efficient because you don't h

[jQuery] Re: Browser sniffing - the correct way?

2009-09-18 Thread Brett Ritter
pera, you want to detect whether a browser supports negative vertical span margins. I don't know which clause will do that :), but that's what you're looking to do. That way your code will continue to work as desired in the future when Opera address this issue and/or when another brow

[jQuery] Re: jQuery PDF Viewer?

2009-09-17 Thread Brett Ritter
on the client? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Browser sniffing - the correct way?

2009-09-17 Thread Brett Ritter
eck out the docs on .supports() -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Sorting in jQuery

2009-09-11 Thread Brett Ritter
se the same approach: Use the sort() method of the array class and pass in the Jquery elements (gotten via get()) As this seems a common and simple need, I'd guess someone has written a plugin for it, have you tried this? http://plugins.jquery.com/project/sort -- Brett Ritter / SwiftOne swift...@swiftone.org

Re: FW: [jQuery] Re: Newbie: Cannot get .text() to work with IE7

2009-09-10 Thread Brett Ritter
above link covers your exact case and shows a work around for loading local files - it may behave differently on a server. I've not played with it myself as of yet. Sorry you didn't get a faster response. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: HTML code inside script tag, how access to it with DOM???

2009-09-10 Thread Brett Ritter
that might work now, text/html might end up a known definition at some time, changing behavior. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Looping through all unchecked checkboxes - how to do it?

2009-08-26 Thread Brett DeWoody
} } } ); Where diff is an integer and the values of the checkboxes are all integers. The problem is the function ends up getting run on all checkboxes, even boxes that have been checked. Is there another way to do this? Something I'm missing. Thanks, -Brett

[jQuery] Re: Get the input value of "ANY" element tag

2009-08-25 Thread Brett Ritter
lass I don't know if this issue is related to your problem, but it is a good idea to fix this regardless. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: App like hangman

2009-08-24 Thread Brett Ritter
s bound to the original are not bound to the clone unless you use live() ) Trying to convert a jQuery element to a string doesn't make sense unless you say what "string" you want - the text, the html, the id, these are all different strings. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: App like hangman

2009-08-23 Thread Brett Ritter
wever, from looking at the jqueryUI docs, it appears what you are looking for is the "Droppable" plugin, which receives "draggable" objects: http://jqueryui.com/demos/droppable/ Hope that helps! -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: App like hangman

2009-08-19 Thread Brett Ritter
On Wed, Aug 19, 2009 at 9:40 AM, Boris Trivic wrote: > anyone? :s I'm afraid I'm not understanding your question. Can you provide simple html that you are trying to read/manipulate? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: POST GET help

2009-08-13 Thread Brett Ritter
r to $.post is a callback function that is called on success and is passed the resulting data. Check http://docs.jquery.com/ or http://visualjquery.com/ for more details on the callback and what it is passed. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Script not recognizing class

2009-08-13 Thread Brett Ritter
On Thu, Aug 13, 2009 at 1:18 PM, Simon wrote: >         class="notloaded">1 ... > What am I doing wrong? You are using multiple class="" declarations in your tags. You want instead: -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Best way to add attributes/extend element

2009-08-13 Thread Brett Ritter
#testInput').attr('rel','extrainfo') it just seems like > there should be a better way to do this. Any suggestions? Check out data() method on Jquery objects... -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Transforming input as it's typed

2009-08-12 Thread Brett Ritter
itiques off my code I'm still interested from a learning perspective) -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Transforming input as it's typed

2009-08-12 Thread Brett Ritter
else if(size < 11){ val = "(" + base.slice(0,3) + ") " + base.slice(3,6) + "-" + base.slice(6); } $(this).val(val); } }); Comments appreciated. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Error when trying to download jquery

2009-08-12 Thread Brett Ritter
ting to look at, particularly the .min.js version). The jquery.com site has some good tutorials to get started with it, but don't expect the file itself to "do" anything. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: How to specify a default value...

2009-08-11 Thread Brett Ritter
t to look up more about this sort of construct, it's called the "ternary operator" and exists in many programming languages. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: jqGrid 35.5 released

2009-08-11 Thread Brett Ryan
Hi Tony, somethings up with triand.com, it keeps reporting that the account has been banned! Hope all is okay, you've done some great work. -Brett On Aug 2, 5:23 am, Tony wrote: > Happy to announce the final 3.5 release of jqGrid. > New wiki Documentation athttp://www.trirand.com

[jQuery] Re: jQuery and the 'this' keyword

2009-07-30 Thread Brett Ritter
uot; does NOT refer to the object your function is part of. If you expect it to you will encounter much confusion. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: JQuery BREAKS in IEx -- H E L P!!!!

2009-07-30 Thread Brett Ritter
mple that will be much easier to get help with. Hope that helps! -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: [treeview] Collapsed tree will flash before collapsing. Anyway to avoid it?

2009-07-30 Thread Brett Ritter
you go to: Step 2: You have early-running javascript apply the hiding CSS. Don't stick this in ready(), just stick it in the document. It should execute prior to ready(). There are refinement efforts you can do from there, but that should get you working. ...Wish I could find that tuto

[jQuery] Re: Selector question

2009-07-29 Thread Brett Ritter
only checks immediate children (as with ">"). For further descendants use .find() instead. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: POST data not being sent

2009-07-29 Thread Brett Ritter
nd.php", data: { aParameter: "somevalue", anotherParamter: "someothervalue" }, dataType: "json", -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: function running 2X

2009-07-29 Thread Brett Ritter
On Wed, Jul 29, 2009 at 3:03 PM, marksimon wrote: > > Still getting 2 alerts. You show your .click() function in another...is that wrapping function getting called more than once? If so, the action is getting bound more than once. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: POST data not being sent

2009-07-29 Thread Brett Ritter
t threading or sorting by conversation, and a hint as to which part of the thread you are replying to is sufficient. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: hoverIntent not working?

2009-07-28 Thread Brett Ritter
avior required 2 functions (and people made this same mistake anyway, thus the change). -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Validation with rewriting

2009-07-27 Thread Brett Ritter
ter for their visual parsing. > Anyway, a validation method has access to the validate element, so you Ah, this is the essential piece I was missing. I'll code a few tests and report back in a few days. Thanks for the help! -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Validation with rewriting

2009-07-27 Thread Brett Ritter
on methods considerably. Or am I misunderstanding you? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Validation with rewriting

2009-07-27 Thread Brett Ritter
proach for doing so? The transformation can be done front-end (i.e. visible to the user, changing the value in the inputs) or internally (standardizing the values sent to the validate plugin), I'm not picky as to which just yet. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: I dont understand why this doesnt work.

2009-07-18 Thread Brett Ritter
around to SOP: http://www.petefreitag.com/item/703.cfm -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: manipulate the next element with a class

2009-07-15 Thread Brett Ritter
k1").click(function(){ $(this).find(".a1").css({"visibility":"hidden"}); //hides all a1's but keeps the space }); }); -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Using jQuery to completely separate HTML from Javascript

2009-07-15 Thread Brett Ritter
'foo', reference to function, not foo(), call to function. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: Detecting a redirect response to an Ajax query

2009-07-15 Thread Brett Ritter
n page text, but not really what you seek. To make life more difficult, that Header is in the XHR object, so you can only check it in the complete() callback (I believe). Otherwise I'm unaware of any solution. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: <3 Solitaire

2009-07-15 Thread Brett Ritter
n.org/blog/javascript-micro-templating/ -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: <3 Solitaire

2009-07-14 Thread Brett Ritter
On Tue, Jul 14, 2009 at 6:37 PM, weepy wrote: > >> you don't define a type here making your page invalid > Are you referring to $().ready(function() { }) ?  You mean you'd I believe he's referring to the script tag itself. It should given a type (e.g. "tex

[jQuery] Re: Simple selector problem

2009-07-10 Thread Brett Ritter
On Fri, Jul 10, 2009 at 11:34 AM, Chris wrote: > I'm using jQuery 1.3.2.  In IE, this returns 3.  In Firefox, it > returns 4. Are you running Firebug or any add-on that modifies the DOM in Firefox? -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] Re: both 'if' and 'else' blocks being executed

2009-07-10 Thread Brett Ritter
y prevents client-side edits. That said, I think different browsers enforce this to different levels. YMMV. -- Brett Ritter / SwiftOne swift...@swiftone.org

[jQuery] How do I toggle two DIV's with two different buttons

2009-06-28 Thread Brett
Hello, I just started using jquery and have been really impressed with it so far. I have been able to get it to do everything that I want with the exception of getting having two different buttons toggle the divs. I want them to be independently able to be used but if one is active and the butt

[jQuery] [Validation] Email

2009-05-08 Thread Brett
I noticed that if you do the email: true in the validation and then try and type an email such as: em...@example.com.com it will mark it as valid. Is this intended? Even says its valid on your test page at: http://docs.jquery.com/Plugins/Validation/Methods/email

[jQuery] Re: jQuery and $.post with PHP and $_POST

2008-12-24 Thread Brett Alton
is explicitly pressed it's value won't be sent. > So in the case given, since there are no other form elements, nothing > with be posted to the server. > > Karl Rudd > > On Wed, Dec 24, 2008 at 11:36 PM, Brett Alton > wrote: > > > How do I get PHP to pri

[jQuery] jQuery and $.post with PHP and $_POST

2008-12-24 Thread Brett Alton
How do I get PHP to print JavaScript variables via $_POST? jQuery's $.post doesn't seem to be submitting any data. This is a sample of what I have... test.php: -- '; print_r($_POST); echo ' -- jquery.js: -- $(document).ready(functio

[jQuery] Re: Add click() event to each() loop constructor

2008-12-10 Thread Brett Alton
t).ready(function() > { > $("a").each(function(i){ > $(this).click(function(){ > alert(i); > > }); > }); > }); > > Brian. > > On Wed, Dec 10, 2008 at 10:29 AM, Brett Alton <[EMAIL PROTECTED]>wrote: > > > > > Sorry, I'm new to Google Gro

[jQuery] Add click() event to each() loop constructor

2008-12-10 Thread Brett Alton
Sorry, I'm new to Google Groups and was trying to reply to a post but couldn't figure out how without e-mailing the author directly[1]. I'm trying to add the click() event to the each() loop constructor. e.g. $(document).ready(function() { $("a[id*='activate-']").each(function(i){

[jQuery] Manipulating input fields

2008-09-22 Thread Brett Alton
I'm trying to take the input from one text input field to the next and I'm not sure how to do it through jQuery. Can someone please send me a tutorial or example of how to do so? Right now I have: $(document).ready(function() { $("#agentfirstname").change(function() {

[jQuery] Re: Eval error with Firefox 3

2007-11-28 Thread Brett
Stable in which way? Memory usage and crashing wise? On Nov 28, 11:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm sure by the time Firefox 3 is released to the general public this > issue will be resolved. Having said this: Firefox 3 is more stable > that Firefox 2.0.0.10 on my compu

[jQuery] Re: Make IE 6 Work Like IE 7

2007-11-28 Thread Brett
Not that I know of however the last update for that library as in 2005, so either thats a bug on the timestamp, or its too old to continue supporting. the only reason you might want to do this is to save a couple of kb of having a plugin to do the work instead of a seperate library On No

[jQuery] Re: Bug in jQuery selector or am I just not understanding?

2007-11-25 Thread Brett
That code is a bit hard to read I would have written the html to be more semantic, instead of using lots of div tags. Still, the exact code if that was in css should be div div div div.dp_properties - so you can see why it reads a bit confusing. I like the idea of defining a tag and usin

[jQuery] Making jQuery turn up on time (document.ready and firing too early)

2007-11-25 Thread Brett
Many of us know here that making jQuery run on the right time has been a bit of a hassle in the past, mainly due to how document.ready is interpreted differently, and sometimes jQuery can fire when the DOM isn't complete - so , all that nice jquery code you have will not be able to work correctly.

[jQuery] Re: Simple Question: Using Variables in jQuery

2007-11-25 Thread Brett
The way you've described it, if you want to have the same name on two elements, you might be using a class instead of an id. instead of content try content - which will freely let you use it multiple times safely. On Nov 24, 4:07 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Nov 23, 4:

[jQuery] Re: Mixing two effects

2007-11-21 Thread Brett
Do these help? http://interface.eyecon.ro/demos/slideshow.html http://www.dzone.com/links/very_nice_jquery_slideshow.html On Nov 21, 3:30 am, Pathos <[EMAIL PROTECTED]> wrote: > Hello everybody, > > after hearing about JQuery i am now plungin in and i really like the > possibilities of jquery. >

[jQuery] Re: Rounded corners-canvas and ie6

2007-11-21 Thread Brett
that's an great effect - first thoughts are how are you generating the bottom border/line? I couldn't track down the code for your corner easily so couldn't get any further. On Nov 22, 8:00 am, polyrhythmic <[EMAIL PROTECTED]> wrote: > I believe curvycorners supports borders, I'm not sure that t

[jQuery] Re: Alternatives to dom ready() for running Jquery code

2007-11-04 Thread Brett
loaded. > > I think this should be fixed "soon". > > --Erik > > On 11/1/07, Brett <[EMAIL PROTECTED]> wrote: > > > > > Hey all, I've ran into a problem where I get code that runs > > occasionally on IE6 and IE7. It's

[jQuery] Alternatives to dom ready() for running Jquery code

2007-11-01 Thread Brett
Hey all, I've ran into a problem where I get code that runs occasionally on IE6 and IE7. It's working fine in Firefox, of course :/ The code I have is: $(document).ready(function(){ //$(function() headline_count = $("div.headline").size(); $("div.headline:eq("+current_headline+")").css('

[jQuery] Correct way to init functions? (jquery not always loading)

2007-11-01 Thread Brett
Here is some code here: $(function(){ $('a.choicelist').bind( 'click', 'click', function() { var targetElementSelectorString = $(this).attr('rel');

[jQuery] Re: jScrollpane - Occasionaly runs in IE? (init/load problem)

2007-10-05 Thread Brett
t; for assigning onload handlers caused jQuery to bomb in IE. Try replacing > it with: > > $(function() { > $("tr:nth-child(even)").addClass("even"); > > }); > > Or even move the striping code up into the ready block you already have... > > Hope

[jQuery] Re: Flash and jQuery

2007-10-04 Thread Brett
Interesting, I googled up and found an example of this: http://www.quirksmode.org/js/flash_call.html Not jQuery as such in the demo, but any function you write can refer to jQuery. On Oct 5, 8:10 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > your flash would need to be wmode=transparent > > an

[jQuery] jScrollpane - Occasionaly runs in IE? (init/load problem)

2007-10-04 Thread Brett
Hey all, LOVING jScrollpane at the moment, here is a page I'm working on. http://cressaid.brettjamesonline.com/bvci/plastek/products1.html The right area with the grey box is a scrollpane which will have a bunch of different things in it. If you view it in firefox, you'll see that the grey scrol

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-01 Thread Brett
at came through when I didn't notice the replies coming through :p On Oct 1, 9:29 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > On 10/1/07, Brett <[EMAIL PROTECTED]> wrote: > > > However, it still does not appear to work :( > > When I visit your pag

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-01 Thread Brett
Firstly, thank you both for your excellent support! Especially with the jQuery 1.3.1.1 version of suckerfish to enable, that went right by me :) I have put in a more specific selector to init Superfish (i've noticed in firefox already that it runs faster!), and have also applied z- index to the

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-01 Thread Brett
Wow, thank you for the support, both of you! I'm just uploading the changes now, the wrong selector for the older jquery I'm using was a big mixup for me. Removed the bgiframe code as I didn't need it, and made the navigation target more specific (I think I noticed a loading speed increase straig

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-01 Thread Brett
Wow, thank you for the support, both of you! I'm just uploading the changes now, the wrong selector for the older jquery I'm using was a big mixup for me. Removed the bgiframe code as I didn't need it, and made the navigation target more specific (I think I noticed a loading speed increase straig

[jQuery] jQuery (Superfish) conflicting with swfobject

2007-09-30 Thread Brett
Hi all, I've been playing around with a dropdown style with help from the fantastic Superfish addin. It looks great in firefox so far, and to a limited extent internet explorer http://cressaid.brettjamesonline.com/staley/bigtest.html This is the page with swfobject disabled (put a typo in to

[jQuery] Recursive setting of names in jquery

2007-08-28 Thread Brett
Hello there, I've been loving jQuery so far - so efficient, and a great piece of code to work with. I was wondering if it is possible to use jQuery in a loop where I need to set a row of values in. For example if there was a set of input boxes named totalA - totalE. To change the first, I would