Web Connection
<div class="dropdown-menu">
Dear Rick:
For the life of me I cannot figure out how to get a Bootstrap Drop down menu to work in Webconnection
etc ....
<!-- Basic dropdown -->
<button id="mWSOURCE_PASS button class="btn btn-primary dropdown-toggle mr-4" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><<mWSOURCE_PASS>></button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Owner</a>
<a class="dropdown-item" href="#">Manager</a>
</div>
etc ...
ENDTEXT
Response.Write(lcHtml)
Response.Write(this.PageFooterTemplate())
FUNCTION UPDATE_ONNER_USER()
WSOURCE_PASS1 = Request.Params("btnSubmit")
I would like to have a pull down say 'Manager' or 'Owner' and then WSOURCE_PASS1 equal 'Manager' or 'Owner'
This is probably the simpleist thing in the world
You're missing the <div class="dropdown">
wrapper around the whole thing.
https://getbootstrap.com/docs/4.3/components/dropdowns/#single-button
When things don't work I just paste in the sample they have right next to my content to see if it works and then compare or even just use that as a starting point and paste in my markup into the content.
It's easy to miss something in the sea of <div>
that Bootstrap uses 😃
+++ Rick ---