Right now in this code it fires the hide(); after it has shown. So it
flickers.
And I do not seem to find a hide callback.
Should I use a different system of tabs in the case that it can not do
this?
If so do you have any suggestions?
http://www.pastie.org/315865
$("#gallery2").tabs({
fx: {
malsup wrote:
>
>
>
> success: function(responseText, status, $form) {
> var id = '#review_' + $form.attr("id");
> $(responseText).prependTo(id).effect("highlight", {}, 9000);
> }
>
> Mike
>
>
>
HUZAH!!! So I was close! Ah, thank you. Four days later straight.
But it's
malsup wrote:
>
>
>> And here is the current setup of codehttp://www.pastie.org/299446
>
> You forgot to declare 'responseText' as an argument to your success
> handler function.
>
>
shoot! Ok, updated. http://www.pastie.org/299610
So now that starts to work. But the Problem of the code
malsup wrote:
>
>
> This is also not valid. 'this' in the success handler is not an
> element, it is the options object (assuming you have the latest
> version of the form plugin; in prior versions it was the window
> object). From your code I can't really tell what you expected 'this'
> to
To further expand on my example. I now add in a fake html page that details
the idea in html
http://ldbss.com/rails/fake.html
one Folder has many files. I need the folder form to target the files list
and update their.
The number of Folders is dynamic and can span many.
tripdragon wrote
To add to it. Here a different example
http://www.pastie.org/299106
It sort of holds the var but can not find where it is in the dom, or it does
not use $(this)
--
View this message in context:
http://www.nabble.com/trying-to-get-ajaxForm-to-use-a-dynamic-class-or-id-to-prependTo-tp20135944s
malsup wrote:
>
>
> Can you post a link that shows the problem that you're having. I
> didn't really understand your explanation.
>
> Mike
>
So here is what ntasfi and I worked on last night. By view of it it looks
like it would work despite a typo thats in there
http://www.pastie.org/29
This code at this moment prependTo to a static id. But I need to get it to
use something like this
$(this).parents('.review_blocks').find('.review_list2:first')
However no matter what I do, I can not get ajaxForm to hold a var like
sort like this
$('.new_review').ajaxForm(function()
'
> , '' // should this be a ?
> , 'Title'
> , 'Episodenumber'
>
> // ... etc, etc ...
>
> , 'Remove ep from list'
> , ''
> , ''
> ].join('');
>
> But, yes you
have this code that works! But looks like butt. As well as that this
is a recipe for hell every-time I need to update it.
I had clone working on the generated html code from the Rails server
code. But in my simple tests the clone was cloning the class or id and
it then more just make clones of th
10 matches
Mail list logo