Skip to content

Instantly share code, notes, and snippets.

@wpot
Created March 6, 2013 05:48
Show Gist options
  • Save wpot/5097030 to your computer and use it in GitHub Desktop.
Save wpot/5097030 to your computer and use it in GitHub Desktop.
<script type="text/javascript" charset="utf-8" async defer>
$(document).ready(function(){
$('#pais').change(function(){
function ocultador(pais){
var id='#pa_'+pais;
$('.div_pol_hidden').hide();
$(id).show();
}
var pais=$('#pais').val();
ocultador(pais);
})
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment