[dancer-users] Dancer2::Plugin::Database side effects?

Stefan Hornburg (Racke) racke at linuxia.de
Wed Sep 23 18:44:55 BST 2015


On 09/23/2015 06:08 PM, Mike Cu wrote:
> It's nothing special :
> $( "#City" ).selectmenu({
>                         select: function( event, ui ) {
>                         $.ajax({     url: '/cities',
>                         type: "POST",
>                         data: {'City':$("#City" ).val()}}).success(function(data){
>                         $("#display").html(data);});
>                     },
>                    
>                        
>                 });
> 
> I don't know how related it can be,as I've just reverted to the old pre Plugin code and everything works fine.When I use the Plugin I get those side effects
> 

Sorry, I meant the (Dancer) code using the plugin - which is the part that obviously makes the difference.

Regards
         Racke

-- 
Perl and Dancer Development

Visit our Perl::Dancer conference 2015.
More information on https://www.perl.dance.



More information about the dancer-users mailing list