[Mojolicious] Re: create variable in template and pass it to controller

2016-10-18 Thread Ragini Prasad
Thanks Tim. You are right as it does not seem to be possible. Its always 0. On Saturday, 15 October 2016 17:29:15 UTC+5:30, Tim Allingham wrote: > > That's not possible, for the following reason > > - Template variables are processed server side, before passing to the > client browser > -

[Mojolicious] Re: create variable in template and pass it to controller

2016-10-15 Thread Tim Allingham
That's not possible, for the following reason - Template variables are processed server side, before passing to the client browser - Javascript is executed client side, any changes to the variable (which the browser won't even have a record of) won't reflect back up to the server. By the time

[Mojolicious] Re: create variable in template and pass it to controller

2016-10-15 Thread Tim Allingham
That's not possible, for the following reason - Template variables are processed server side, before passing to the client browser - Javascript is execute client side, any changes to the variable (which the browser won't even have a record of) won't reflect back up to the server. On Thursday,