You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added the CDN locations to a specific page which I would like to place one of these select controls with search capability.
How do I then add this code? I think the typical usage would be within a .js file entirely of node.JS code.
Can I simply place the same code into a <script> bracket? Do I, or can I, split up these brackets?
I would need to fill the <options>, which I currently have in a PHP array variable - though seen guidance for how to convert that across to a JS variable.
Then I would need to be able to grab the selected item, which is used as part of a HTML form submission.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have added the CDN locations to a specific page which I would like to place one of these
select
controls with search capability.How do I then add this code? I think the typical usage would be within a
.js
file entirely of node.JS code.Can I simply place the same code into a
<script>
bracket? Do I, or can I, split up these brackets?I would need to fill the
<options>
, which I currently have in a PHP array variable - though seen guidance for how to convert that across to a JS variable.Then I would need to be able to grab the selected item, which is used as part of a HTML form submission.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions