Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery - Which events do pop up windows use?
    text
    copied!<p>I am developing a webpage with a select option that does not use the native-menu.</p> <p><img src="https://i.stack.imgur.com/ccBoy.png" alt="When you load the page"></p> <p>When the screen is large enough, and you click the select option, the pop up appears like so:</p> <p><img src="https://i.stack.imgur.com/moZnV.png" alt="enter image description here"></p> <p>However, when you pull up the console (F12 in Chrome) or some mobile devices, and click the select option, the pop up goes modal (fullscreen)</p> <p><img src="https://i.stack.imgur.com/fWcSZ.png" alt="enter image description here"></p> <p><strong>QUESTION</strong> What are the events that are called when each is closed (in both the 2nd and 3rd picture posted above)? I have a gut feeling it is not the same..</p> <p>Might one be</p> <pre><code>$(select[name='select_menu']).??? </code></pre> <p>Below is the code for the select tag I have, as well as some options. This is all contained in a form..</p> <pre><code>&lt;form name="form_header" id="form_header" data-id="form_header"&gt; </code></pre> <hr> <pre><code>&lt;select name="select_menu" id="select_menu" form="form_header" multiple="multiple" data-native-menu="false"data-rel="dialog" data-placeholder="true" placeholder="student_id"&gt; &lt;option&gt;Search By:&lt;/option&gt; &lt;option for="form_header" id="1" data-num="1" value="student_id"&gt;Student ID&lt;/option&gt; &lt;option for="form_header" id="2" data-num="2" value="parking_permit"&gt;Parking Permit&lt;/option&gt; &lt;option for="form_header" id="3" data-num="3" value="license_plate"&gt;License Plate&lt;/option&gt; &lt;option for="form_header" id="4" data-num="4" value="first_name"&gt;First Name&lt;/option&gt; &lt;option for="form_header" id="5" data-num="5" value="last_name"&gt;Last Name&lt;/option&gt; &lt;!--Add more options here if need be--&gt; &lt;/select&gt; </code></pre>
 

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