cribe me from your mailing listy. Thank you.
>
> On Fri, Nov 13, 2009 at 7:31 AM, The alMIGHTY N wrote:
>
> > I have a page with a DIV at the top that is shown and hidden with the
> > jQueryUI show and hide effects. Underneath it is a TABLE whose
> > vertical position shift
array = new Array();
> array[0] = FirstThing;
> array[1] = SecondThing;
> array[2] = ThirdThing;
>
> You can write it more simply - and make it easier to read and maintain -
> with:
>
> var array = [
> FirstThing,
> SecondThing,
&
{
> var my_i = i;
> $("#something").click(function(){ do_it(my_i)});
> })();
> }
>
> depending on your real code, it can surely be written in better ways.
>
> On Oct 29, 5:29 pm, The alMIGHTY N wrot
Example page: http://jqueryfun.nathanielklee.com/eventFirefox.html
Following one example provided in an official jQuery tutorial (located
at http://docs.jquery.com/Tutorials:How_jQuery_Works), I can pass
"event" into a function I define directly in the click assignment
handler.
e.g. $("#something
Let's say I have a series of links on the page: Link 0Link 1Link 2Link 3Link 4 and so forth.
I want to attach event handlers to each of them using a for loop for
simplicity sake. I can't just do:
for (var i = 0; i < 5; i++) {
$("#link" + i).click(function(event) {
alert(i);
event.
rite replacement code I posted, but you're
> unlikely to need it. (Maybe it will prove useful for some other purpose to
> someone else who stumbles on the thread...)
>
> -Mike
>
> On Wed, Sep 30, 2009 at 12:14 PM, The alMIGHTY N wrote:
>
>
>
> > Thanks for the res
Thanks for the response, Mike. I can't believe I didn't put those two
things together!
I'm creating a page that will display a Flash Video Player (the one
that comes with Dreamweaver by default) to load progressive video
content. My intention is to include links on that page representing
differen
I need to be able to use jQuery's load function to grab the contents
of an external file and append them to a particular DOM element. The
problem is that when that external file includes scripts that contain
calls to document.write, I get weird behavior that changes depending
on which browser I'm
8 matches
Mail list logo