Skip to content

@Ajaxman /changes.js
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Un JS
var $selector = $(".combos");
$selector.change(function () {
var $this = $(this);
var $id = this.id;
var elegido=$(this).val();
var combo = $id.toString().split("combo")[1];
var params = {elegido: elegido};
if($id == "combo3"){
params = { elegido: elegido
nacional: $("#combo1").val()
};
}
$.post( "generica_combos.asp?combo="+combo,
params,
function(data){
$("#combo"+combo).html(data);
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.