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
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
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?
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>
>
and pad the section before it, hopefully
without having to effectively rewrite the plugin.
Ideas?
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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",
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
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
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
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
on the client?
--
Brett Ritter / SwiftOne
swift...@swiftone.org
eck out the docs on .supports()
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
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
that might work now, text/html might end up a known
definition at some time, changing behavior.
--
Brett Ritter / SwiftOne
swift...@swiftone.org
}
}
}
);
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
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
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
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
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
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
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
#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
itiques off my code I'm still interested
from a learning perspective)
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
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
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
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
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
mple that will be much
easier to get help with.
Hope that helps!
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
only checks immediate children (as with ">"). For further
descendants use .find() instead.
--
Brett Ritter / SwiftOne
swift...@swiftone.org
nd.php",
data: {
aParameter: "somevalue",
anotherParamter: "someothervalue"
},
dataType: "json",
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
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
avior
required 2 functions (and people made this same mistake anyway, thus
the change).
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
on methods considerably.
Or am I misunderstanding you?
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
around to SOP:
http://www.petefreitag.com/item/703.cfm
--
Brett Ritter / SwiftOne
swift...@swiftone.org
k1").click(function(){
$(this).find(".a1").css({"visibility":"hidden"}); //hides all a1's
but keeps the space
});
});
--
Brett Ritter / SwiftOne
swift...@swiftone.org
'foo', reference to function, not
foo(), call to function.
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
n.org/blog/javascript-micro-templating/
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
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
y prevents
client-side edits.
That said, I think different browsers enforce this to different levels. YMMV.
--
Brett Ritter / SwiftOne
swift...@swiftone.org
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
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
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
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
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
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){
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()
{
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
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
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
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.
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:
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.
>
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
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
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('
Here is some code here:
$(function(){
$('a.choicelist').bind(
'click',
'click',
function()
{
var targetElementSelectorString =
$(this).attr('rel');
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
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
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
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
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
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
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
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
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
73 matches
Mail list logo