Per Anthony's request, I am posting my question here.

I have a table which holds different kind of 'cards'. Each card has a name 
and some other information. I am using SQLFORM and IS_IN_DB to create a 
drop down menu for all the cards stored in the db. 

What I want is for the user to use the drop down of cards and select one. 
When the user selects a card I want another drop down menu of another table 
to be displayed to the user.

When the user picks an option of the other drop down menu, the app will do 
some simple calculations and display those. 

I do not want a submit button for the SQL form so I using: 

select = form.element('select[name=myfield]') to remove it. It was recommended 
to me to use JavaScript:

<script>
jQuery('select[name=myfield]').on('change', function() {
  [do something here]});</script>


However, I have very limited experience with JavaScript and webapp programming 
in general to figure out what to put in the [do something here] 



-- 

--- 
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