Welcome Guest, Not a member yet? Register   Sign In
Repopulating Form being displayed through Jquery UI tabs interface
#27

[eluser]Timothy_[/eluser]
[quote author="xerobytez" date="1298108006"]What I usually do is set the success method for the jQuery forms library to eval the response it receives from the server. So the javascript would look something like this:

Code:
$(function() {
    $('#form').ajaxForm({
        success: function(response) {
            eval(response);
        }
    });
});
[/quote]

Wow!!! Thank you so much for this. This is an amazing breakthrough and works almost perfectly.

One last brain teaser...

How can I snap the edit form out of just getting responses and take back control with codeigniter.

For example, when I try and do a redirect

Code:
redirect('home');

the page just sits there and does nothing.

I guess I want it both ways and I hope there is a way to achieve this.


[quote author="Basketcasesoftware" date="1298115694"]Your site looks sharp indeed. I used to work for a small public access tv station part time (technically I'm still on the list of staff but I'm miles away now) and my mom used to work in radio advertising sales both as general staff and management.

I'm guessing you are working on the 1.5 upgrade right now.[/quote]

Thanks for that. I am currently working on 1.3. Hopefully it will be finished soon!


Messages In This Thread
Repopulating Form being displayed through Jquery UI tabs interface - by El Forum - 02-19-2011, 07:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB