[jQuery] Re: binding after .get()

2009-04-28 Thread hphoeksma
cs.jquery.com/Events/live#typefn > >   _   > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Karl Swedberg > Sent: Friday, April 17, 2009 1:51 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: binding after .get() > > On Apr 16, 20

[jQuery] Re: binding after .get()

2009-04-16 Thread hphoeksma
Hi Donny, thanks for your reply. This will lead to lots of extra code I guess... Would there be another way? Thanks! Henjo On Apr 16, 5:14 pm, Donny Kurnia wrote: > hphoeksma wrote: > > Hi all, > > > new to jQuery I am having difficulty on the binding concept. > >

[jQuery] binding after .get()

2009-04-16 Thread hphoeksma
Hi, I am new to jQuery and can't get my head around the binding concept. I read some posts about it, but can't seem to figure out how to bind data coming from $.get('script.php', {'c': c, 'sc': sc }, function (data) {...} It's now loaded using: $('form').html(data); replacing the normal form com

[jQuery] binding after .get()

2009-04-16 Thread hphoeksma
Hi all, new to jQuery I am having difficulty on the binding concept. Currently using this function to regenerate a full form based on a PHP script. -- $("select").change(function () { $.get('script.php', {'c': c, 'sc': sc }, function(data) { $('form').html(data); });