i tend to think it's one of these very application specific errors
that requires all the bizarre permutations, rather than just sample
code...
--adam
On Apr 3, 3:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> That's weird. I used almost exactly your code with the latest SVN and
> I get
That's weird. I used almost exactly your code with the latest SVN and
I get no errors. Could it be to do with what's in the loaded file?
Mine was just a simple php echo. Here's my code:
1
2
clickMe
function setupSortable() {
$('#myid').sortable();
}
$(function() {
i know that theoretically i should be using .sortable("refresh") in
this scenario but
a) it's never worked for me, haven't tried changing it in a few weeks
though.
b) this same issue happens with other plugins too...tablesorter,
pretty much anything that happens in this sequence..
--adam
On Apr
hmmm,
my problem isn't that bound events aren't there after elements are
ajaxed in - i understand that issue. mine is like this:
let's say i have the following
-
1
2
clickMe
function setupSortable() {
$('#myid').sortable();
});
$(function() {
setupSortable();
I can take credit for it. :-)
Very glad that you liked it. Thanks for the compliment!
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 2, 2008, at 2:20 PM, tlphipps wrote:
I can't take any credit for the article. I thought it was very well
writte
I can't take any credit for the article. I thought it was very well
written though!
On Apr 2, 10:18 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Dude! That's exactly what I was looking for!
>
> And I actually understand your solution too, which is a huge bonus for
> me.
>
> Thanks for yo
Dude! That's exactly what I was looking for!
And I actually understand your solution too, which is a huge bonus for
me.
Thanks for your time :)
Steve
On Apr 2, 3:05 pm, tlphipps <[EMAIL PROTECTED]> wrote:
> I think the following like may explain the problem you're experiencing
> (if I'm underst
I think the following like may explain the problem you're experiencing
(if I'm understanding the problem correctly):
http://www.learningjquery.com/2008/03/working-with-events-part-1
On Apr 2, 3:07 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> "the issue we're experiencing is that in some
"the issue we're experiencing is that in some cases $
(obj).draggable()
is fine, and then in other cases (like inside of the callback
of .load()), $(obj).draggable() errors out, throwing "not a
function..."
--adam "
Well, sometimes, but Drake has described my main problem. I can make
the dynamic
Here's a demo. It's HEAVILY work-in-progress, so you'll find broken
stuff all over the place. Please also excuse the speed of my extremely
shoddy server.
www.rymix.co.uk/jquery/d13
You can see the effect if you click 'customise this page' and then add
a portlet. It will push the portlet into the
"For instance, if you create a new draggable
element, you are going to have to use $(obj).draggable()"
the issue we're experiencing is that in some cases $(obj).draggable()
is fine, and then in other cases (like inside of the callback
of .load()), $(obj).draggable() errors out, throwing "not a
fu
HA!
I'll post the code up here soon so people can have a look. It seems to
me like it would be a fairly common requirement though. Surely there's
a way of re-calling the jQuery stuff after it's been initially called?
Steve
On Mar 31, 6:53 pm, ajpiano <[EMAIL PROTECTED]> wrote:
> STEVE
>
> I
You document ready event is perfect for firing off javascript on
existing elements. But thats it. If you create elements on the fly,
you'll have to call the applicable functions you require when you load
the new DOM objects. For instance, if you create a new draggable
element, you are going to
STEVE
I ride alongside you in this boat of shame. I have the exact same
problem. Portlet interface, two styles of instantiating portlets.
Long have I suffered this bug to no avail. I have cheesily and not
completely solved the problem by storing the jQuery object in another
variable and th
14 matches
Mail list logo