Got it licked, many many thanks for your help Ariel and Wizzud ;)
On 10/04/2008, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>
>
> Can't help you out with this, I've never read any..
>
> Cheers
>
>
> On 10 abr, 14:58, "mike mike" <[EMAIL PROTECTED]> wrote:
> > Hi Ariel,
> >
> > Many thanks again for
Can't help you out with this, I've never read any..
Cheers
--
Ariel Flesler
http://flesler.blogspot.com
On 10 abr, 14:58, "mike mike" <[EMAIL PROTECTED]> wrote:
> Hi Ariel,
>
> Many thanks again for replying!
>
> I think I am confussing the two approaches here ;-) I think I need to go
> down t
Hi Ariel,
Many thanks again for replying!
I think I am confussing the two approaches here ;-) I think I need to go
down the delegation method as I may be adding a load of divs (the final app
will be used to track Amateur Radio nets, each one will need to have comment
data, signal data etc which
Turn it round slightly.
Instead of ...
$("#column").append(html).find('.portHeader').bind('click',setQRX);
try...
$(html).appendTo('#column').find('.portHeader').bind('click',setQRX);
This way, when you get to the find(), the context is the newly
appended html, whereas previously is was #colum
Hi Mike
>>I *think* the answer is in the FAQ snippet
That snippet is the base for Event delegation. That would the second
approach, I think you've been following the first (re-binding).
So, you take one option, or the other, not both. If you stick to re-
binding, the technique of a class you men
Many thanks for the help,
*Ariel*, Yes I have read the FAQ and now followed all the links. It's
starting to make some sense, slowly, but I can't relate the examples to my
code (I really am a newb LOL). I'm on a learning curve here ;-))
*Wizzud*, Many thanks for the great explanation and yep, I
Have you checked this ?
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
--
Ariel Flesler
http://flesler.blogspot.com
On 9 abr, 17:34, GM1WKR <[EMAIL PROTECTED]> wrote:
> Hi There,
>
> I am a total JS newb and hobbyist only so I hope I can
This line...
$("#column").append(html).find('.portHeader').bind('click',setQRX);
might be causing you a problem.
Breakdown...
$("#column") //select #column
.append(html) //append some HTML to #column
.find('.portHeader') //find anything in #column with class
portHeader
.bind('click',setQ
8 matches
Mail list logo