php


Change Folder Path Based on Dropdown


I am trying to change a folder path based on a dropdown selection on a page with two menus. I have certain links that need to change and determined it would be easiest if I could change the folder path. I found a couple ways to do with with jquery and a single dropdown, but haven't been able to get it to work with two. Also note that all of the divs are hidden until a state is selected, then I show the applications, but I need the folder path where it notes, CHANGE FOLDER, to be the name of the select state.
Here is the code.
Thanks!
<h3 class="xlrg2"><strong class="txt-orange"><span id="aggregator_name_form"></span></strong> Application Forms:</h3>
<select class="text_select select-forms" id="select-state" name="select-state" onchange="select-state();">
<option value="Select State">Select State</option>
<option value="Arkansas">AR - Arkansas</option>
<option value="Colorado">CO - Colorado</option>
<option value="Idaho">ID - Idaho</option>
<option value="Indiana">IN - Indiana</option>
<option value="Iowa">IA - Iowa</option>
<option value="Kansas">KS - Kansas</option>
<option value="Minnesota">MN - Minnesota</option>
<option value="Missouri">MO - Missouri</option>
<option value="Montana">MT - Montana</option>
<option value="Nebraska">NE - Nebraska</option>
<option value="North Dakota">ND - North Dakota</option>
<option value="Oregon">OR - Oregon</option>
<option value="South Dakota">SD - South Dakota</option>
<option value="Utah">UT - Utah</option>
<option value="Wisconsin">WI - Wisconsin</option>
<option value="Wyoming">WY - Wyoming</option>
</select>
<br/>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"><h3 class="xlrg2">Select Type:</h3>
<select class="select-forms" id="practice-type" name="practice-type">
<option value="all">All Applications Forms</option>
<option value="physicians">Physicians</option>
<option value="otherhcp">Other Health Care Professionals</option>
<option value="hcfacilities">Health Care Facilities</option>
<option value="ltc">Long-Term Care Organizations</option>
<option value="hospitals">Hospitals</option>
</select>
</div>
<!-- State Specific -->
<div class="pdf2 lnht-16 vmiddle">
<a class="pdfdownload-icon pull-left" href="/docs/forms/state/MN/MMIC_PHY_Physicians_Surgeons_Professional_Liability_Application_New_Business.pdf" target="_blank"> </a> <a class="pdfdownload paddtop-15" href="/docs/forms/state/MN/MMIC_PHY_Physicians_Surgeons_Professional_Liability_Application_New_Business.pdf" target="_blank"><span class="txt-dblue">NEW BUSINESS</span> - Physicians and Surgeons Professional Liability Application</a>
</div>
<div class="pdf2 lnht-16 vmiddle">
<a class="pdfdownload-icon pull-left" href="/docs/forms/state/CHANGE THIS FOLDER/MMIC_PHY_Physicians_Surgeons_Professional_Liability_Application_Renewal.pdf" target="_blank"> </a> <a class="pdfdownload paddtop-15" href="/docs/forms/CHANGE THIS FOLDER/MN/MMIC_PHY_Physicians_Surgeons_Professional_Liability_Application_Renewal.pdf" target="_blank"><span class="txt-dblue">RENEWAL</span> - Physicians and Surgeons Professional Liability Application</a>
</div>
<!-- End State Specific -->

Related Links

Formating phone number according to the E164 format
email header format (PHP)
Notice: Undefined variable: error [duplicate]
HTML DRAG AND DROP Items will not drag and drop back into original area
Incorrect coverage with Sonarqube 6.2 and PHP plugin
Why is this query in Sphinx failing?
How to use supervisor in Yii2?
Php Multidimensional Array - Update value based on a key ID
PHP: calling on an instance's private method inside an instance's static class
function st_astext(public.geography) does not exist
Pagination with Custom Post Type and Taxonomies return 404
BLOB Image returning broken image
How to pass form data to another page in Laravel
Braintree PHP setting amount and avoiding rounding errors
I am trying to find a way in php to apply a coupon code for having 2 of one product list and 1 of another in WP/WooCommerce
MS SQL ODBC partially printing table PHP

Categories

HOME
webview
postgresql-9.4
systemd
operating-system
dry
nsview
pyresttest
smartgwt
complexity-theory
c#-7.0
yii2-basic-app
quantitative-finance
pyopencl
function-points
dragula
gravity-forms-plugin
macromedia
tilemill
locks
opnet
sca
gsp
uivisualeffectview
elastica
android-n
cloudera-sentry
moinmoin
liteide
adblock
spongycastle
webalizer
xcglogger
bpms
boost-compute
cefpython
s-function
jsonix
nunit-console
perforce-integrate
qpixmap
mathnet
persistent-object-store
gridbaglayout
preferenceactivity
django-validation
ioexception
outlook.com
wso2ml
mobilefirst-server
algebraixlib
relational-model
ipod
wicked-gem
smacss
berkeley-db-xml
xcode6.3.1
zend-search-lucene
sql-function
nodeload
pre
typesafe-stack
code39
apache-shindig
mousemotionlistener
node.js-stream
jacob
blobstorage
notin
arrow
firebird1.5
mkannotation
affinetransform
differentiation
canonicalization
airprint
mygeneration
3-tier
asdoc
self-tracking-entities
firephp
activex-exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App