1
0
Fork 0

country/state selector more or less working (arghhh)

This commit is contained in:
Mike Macgirvin 2010-07-09 07:02:22 -07:00
commit d24038d558
3 changed files with 317 additions and 319 deletions

View file

@ -3,7 +3,7 @@
$default
<div id="profile-edit-wrapper" >
<form id="profile-edit-form" action="profiles/$profile_id" method="post" >
<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >
<div id="profile-edit-profile-name-wrapper" >
<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >Profile Name: </label>
@ -36,11 +36,6 @@ $gender
</div>
<div id="profile-edit-locality-end"></div>
<div id="profile-edit-region-wrapper" >
<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </label>
<input type="text size="32" name="region" id="profile-edit-region" value="$region" />
</div>
<div id="profile-edit-region-end"></div>
<div id="profile-edit-postal-code-wrapper" >
<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >Postal/Zip Code: </label>
@ -49,11 +44,26 @@ $gender
<div id="profile-edit-postal-code-end"></div>
<div id="profile-edit-country-name-wrapper" >
<input type="hidden" name="txtSelectedCountry" value="" >
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >Country: </label>
<input type="text size="32" name="country_name" id="profile-edit-country-name" value="$country_name" />
<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');">
<option selected="selected" >$country_name</option>
<option>temp</option>
</select>
</div>
<div id="profile-edit-country-name-end"></div>
<div id="profile-edit-region-wrapper" >
<input type="hidden" name="txtSelectedState" value="" >
<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </label>
<select name="region" id="profile-edit-region" onChange="Update_Globals();" >
<option selected="selected" >$region</option>
<option>temp</option>
</select>
</div>
<div id="profile-edit-region-end"></div>
<div id="profile-edit-marital-wrapper" >
<label id="profile-edit-marital-label" for="profile-edit-marital" >Marital Status: </label>
@ -88,4 +98,5 @@ Tell us about yourself.
</form>
</div>
</div>
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>