Here is the code that worked for me when added to the view.  Send all your 
thanks to Alan Etkin!!

<script>
$(document).ready(function() {

   $("form").submit(
     function() { 
     $("[name=rating]").removeAttr("disabled");
     }
   );
   
});
</script>




On Friday, February 8, 2013 4:52:19 PM UTC-6, Michael Gheith wrote:
>
> Hello web2py community :)
>
> I'm trying to implement a simple star rating for my site.  I followed the 
> steps in the web2py Application Development Cookbook, but it is not working 
> unfortunately; I select 2 stars for example, but it's not being saved to 
> the database.
>
> I have taken a look at the star rating widget in plugin_wiki, and could 
> not get that to work either!
>
> Can any of you provide me with a .w2p of something that works?
>
>
> Hope to hear from any of you soon, thanks in advance!
> Michael Joseph Gheith
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to