Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- onLoad problem


greencode - 10:31 am on Oct 25, 2012 (gmt 0)


Ah ha, figured it out…


<script type="text/javascript">
var selectedScheme = 'Default';
$(document).ready(function() {
$('#color_scheme').change(function(){
$('span').removeClass(selectedScheme).addClass($(this).val());
selectedScheme = $(this).val();
});
});
</script>


Thread source:: http://www.webmasterworld.com/javascript/4512151.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com