Note that there are some explanatory texts on larger screens.

plurals
  1. USTim Hobbs
    primarykey
    data
    text
    plurals
    1. COI agree, your service layer should handle that. Really, the repository is pretty dumb - it should just get and set data. Your service layer is where you are going to put in your checks and balances before doing anything with the data (e.g., making sure the data exists in the parent table before putting data into the child table). As for a tutorial, unfortunately I do not have a link. I'll see what I can dig up though. Good luck!
      singulars
    2. COGive this a try: [jsfiddle](http://jsfiddle.net/Z4v6V/) You want to use the [$.each](http://api.jquery.com/jQuery.each/) function to loop over the return data (I am assuming it is JSON) and then append newly created <option/> items to your <select/> list. **EDIT** I just tried the jsfiddle and added the square brackets like you have in your select list name and it broke the fiddle. I don't know if that means it would have the same result, but it is likely. Is there any way you can remove those square brackets from the name? That may be the cause of your problem.
      singulars
    3. COI'm not sure there is a problem as z-index on the yellow div works fine: [jsfiddle](http://jsfiddle.net/9abbA/2/) -EDIT: I should add I am using Chrome, just in case it is something browser-specific.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload