Hello, now I’m sitting there suffering about the problem of displaying a modal window with content using jquery. In general, I want to do the following:

  1. First, I choose a time span;
  2. Then I select the Filtering from the list and when choosing an option, the MODAL WINDOW should open, in which I will set certain parameters for the further construction of the query and output accordingly to the table.

enter image description here

  • Speech about subset option? - Kirill Korushkin
  • <select id = "effectTypes" onchange = "statusSelect ();"> <option value = "hz"> Select </ option> <option id = "napr"> By directions </ option> <option id = "god" > By year of receipt </ option> </ select> - Vendetta
  • Suppose I chose By Directions, and a modal window opens with a lot of checkboxes and selects which directions I need, and click on the show button, the window closes and a table with the requested data is built. - Vendetta

1 answer 1

To solve the problem, I used bootstrap with modal windows and accordingly created several modal windows for each option and, when choosing a certain option, returns the desired modal window with the contents, using the jqgrid library as a table