[eluser]ebrahimthex[/eluser]
Start by giving both DIVs the same class, perhaps "currency", and i make the value of the OPTIONs the same as the id of the DIVs:
Code:
<form method="post" acti base_url();?>domain_reseller.html">
<p align="right">Choose Currency:</p>
<select name="currency" >
<option value="BDT" selected="selected">BDT for Bangladesh</option>
<option value="USD">USD For World Wide Country</option>
</select>
</form>
<div class="currency" id="USD">
This Is USD Currency in domain name from DB and Lot's of Content.
</div>
<div class="currency" id="BDT">
This Is BDT Currency in domain name from DB and Lot's of Content.
</div>
Then in CSS hide the currency div by default:
Code:
div.currency {
display: none;
}
Then using jQuery display the currently selected currency,
//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
Code:
var currencySelect = $('select');
$('#' + currencySelect.val()).show();
currencySelect.change(function () {
$('div.currency').hide();
$('#' + $(this).val()).show();
});
When I change BDT to USD then Say This Message
Quote:An Error Was Encountered
The action you have requested is not allowed.
Now What Can i do? or How Can i change without Refresh page.?
Plz check <a href="http://russelhost.com/domain_reseller.html" alt="Cheap Domain Reseller">Domain Reseller</a>