Can you give some more details about how to you need to make this
If you need to handle variables from a controller in you JS and resend for
back-end I sugest you to make API endpoints to make this.
Web Solutions Architect and founder at Bivee
Cel: +55 (47) 9270-6171
Este e-mail contém informações confidenciais e seu conteúdo é dirigido ao
uso do indivíduo ou da entidade mencionados acima. Se você recebeu esta
mensagem por engano, por favor, notifique o remetente e remova-o
This e-mail contains confidential information intended only for the use of
the individual or entity named above. If you are not the intended
recipient, please notify the sender and delete it immediately.
On Thu, Oct 13, 2016 at 9:52 AM, Ragini Prasad <ragini.r...@gmail.com>
> I am creating a variable in template and stashing it. Basically I want to
> create a variable in template, modify it in java scripts used in template
> and pass it to controller.
> <% my $pagestatus=0; %>
> <%= stash "pagestatus" %>
> I need this variable in controller. I am trying to get it there in this
> $status= $self->param('pagestatus');
> This value never gets reflected in my controller. What is the right way to
> do it ?
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mojolicious+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.