Code helps, particularly simplified code!
Howard
On Nov 26, 11:47 am, Radu <[EMAIL PROTECTED]> wrote:
> hi, this is my first post on the group
>
> so,
>
> i have a form through wich i'm sending an ajax reques to a php script
> and get the result back.
> to be more clear i write a text into an in
zero, so that I now understand this
important concept. Now on to figuring out why my *real* plugin (not
that much more complicated than this simple test prototype) isn't
working ...
Howard
On Nov 24, 4:20 pm, howardk <[EMAIL PROTECTED]> wrote:
> Michael and Sean,
> Thanks to both
You can do this entirely on the client if
(1) you either know the names of all the image files in the directory
on the server or
(2) you can construct them programatically at runtime.
The latter works for instance if the file names are something like
image_1.png, image_2.png, image_3.png, ..., i
; for plugin methods just like any other functions.
>
> As Shawn suggested, if you have trouble with a specific bit of code, post a
> link to it and someone can take a look at it.
>
> -Mike
>
> > From: howardk
>
> > Is there a way of instantiating multiple instances of
Is there a way of instantiating multiple instances of a plugin on the
same page?
What I have essentially is an animated effects plugin, and I want to
be able to invoke separate instantiations of it, doing something like
the following:
$( '#effect_1' ).animEffect( { name: 'jumper', color
I'm laughing at myself. :-)
Many thanks, dudes!
Howard
On Nov 23, 7:49 am, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> It's async, not asynch.
>
> --
> Ariel Fleslerhttp://flesler.blogspot.com
>
> On 23 nov, 12:40, howardk <[EMAIL PROTECTED]> wrote
Am I misunderstanding how $.ajax( { ..., asynch: false } is supposed
to work? I'm not seeing a responseText value immediately on returning
from the ajax call as I would expect.
Here's the relevant code:
--
var xhr = $.ajax(
rebug console:
>
> 0.051 - test.one()
> 0.199 - test.two()
> 0.052 - test.one.call(window)
> 2.408 - test.two.call(window)
>
> As you can see, test.two() is several times slower than test.one() when it's
> called as a method of the test object, but dramatically slower
I've been experimenting with several different coding styles for plug-
ins. Lately I've been curious about the difference in performance
between using local variables vs. instance variables for storing
state. JSLitmus, while not itself jQuery-based, has just given me the
answers I've been looking
I still feel fairly new to jQuery and javascript -- after almost a
year! -- and have been experimenting with several different coding
styles for plug-ins. Lately I've been curious about the difference in
performance between using local variables vs. instance variables for
storing state. JSLitmus,
Of course! Raise right hand and hit sharply upside the head. :-)
Thanks John
On Dec 12, 10:33 am, howardk <[EMAIL PROTECTED]> wrote:
> John's got an example of chaining in his book, "Pro JavaScript
> Techniques", that isn't working for me. More importantly, I don
John's got an example of chaining in his book, "Pro JavaScript
Techniques", that isn't working for me. More importantly, I don't
understand what the code is intending to do, so I can make an attempt
to fix it. The code in general is adding a help cursor and a red star
to a field in a form to indic
return false; /* for submit-2 */
});
});
return false; /* for submit-1 */
});
});
On Nov 30, 2:30 am, Wizzud <[EMAIL PROTECTED]> wrote:
> Return false from your submit() functions, otherwise the form does
> actually
Hi, I think I'm missing something obvious. I'm trying to save screen
real-estate and have a search-form do an ajax-swap on a submit with
the results page that it creates. The results page is also a form
(simply because it has a submit buttom at the bottom at this point),
which likewise is supposed
Brian might be making more information available elsewhere (not being
Brian, I can't say this definitively :-), but it seems pretty clear
from the posting that it's a tutorial, and that Brian has created the
jXML object *in* the tutorial for teaching purposes. He's not using an
object that origina
Phunky,
I'm playing in that area right now. The code below shows part of a
Members object that reads in club membership data in json format and
builds an html table from it. Each individual member object in the
json is actually an array of data fields for efficiency sake, eg:
{"members":[
...
["
Peter,
Very nice! You might note that the week shown on the current set of
cards tho runs from October 6 to October 6 (a very short week
indeed! :-)
Howard
On Oct 5, 12:07 pm, vulgarisoverip <[EMAIL PROTECTED]> wrote:
> 1.2 has been a dream come true, fixing a lot of the little animation
> bugs I
= a.length; j < al; j++ )
>jQuery(a[j])[n]( this );
> });
> };
> });
>
> appendTo is just a wrapper around append - just like prependTo, etc. And all
> of these functions run their arguments through
> domManip(), which is the code that h
Nice use of join()! I'm new to JavaScript and jQuery both, and it's
nice to come across little snippets like this I can readily add to my
jQuery repetoire and that slightly expand my understanding of
JavaScript.
By the way, the docs show that it's legal to pass, as an argument to
append(), either
Here's a very nice implementation of the "Fifteen" puzzle (http://
en.wikipedia.org/wiki/Fifteen_puzzle) in jQuery:
http://www.alexatnet.com/node/68
Howard
Hi,
I'm just learning jquery and (mostly!) enjoying it. I'm a bit
frustrated at the moment tho not understanding why multiple
appendTo()'s don't seem to work, depending on what I'm trying to
append. Here's a bit of exploratory code, called from a $.ajax()
method, that seems to be misbehaving:
fun
21 matches
Mail list logo