<script type"text/javascript">
jQuery.ajax({url:'{{=URL('insert_updatedb')}}', data:
{'numBer':numBer,'totaltime':total_time,'mgp':mgp,'correct':correct}},
success: function() {
                        {{redirect(URL(f="mathgen"))}}    }
</script>

what im trying to do here is after it calls update it goes to another
page called mathgen... andskipps the page that the javascript is on..

eg i wannn go from A TO B TO C... The script is goin A TO C

On May 7, 11:33 am, Shishir Ramam <[email protected]> wrote:
> if you are still struggling with it, please post the simplest example that
> exhibits the problem.
> -shishir
>
>
>
> On Sat, May 7, 2011 at 9:26 AM, TÅ®å ßrown <[email protected]> wrote:
> > honestly its not that i prefer to do that..i just didn't know how to do
> > it.. i used JavaScript to call some functions in the controller but the
> > functions  are not goin to their default view.. so i figured i had to call
> > it manually
>
> > On Fri, May 6, 2011 at 9:39 PM, pbreit <[email protected]> wrote:
>
> >>http://grizzlyweb.com/webmaster/javascripts/redirection.asp
>
> >> But I'm not sure why you would want to do that.
>
> > --
> > ~~~~Live Laugh Love || Strength, Courage and Wisdom ~~~~
>
> --
> Imagine there were no hypothetical situations.

Reply via email to