MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
/*--------------------state or provinces show and hide----------------------------*/
/*--------------------state or provinces show and hide----------------------------*/
$(document).ready(function(){
$(document).ready(function(){
/*------------------------------Peru states----------------------------*/
$("#countryofPeruPeruPeruPeru").click(function(){$("#PeruPeruStates").show();});
$("#countryofPeruPeruPeru2").click(function(){$("#PeruStates").show();$("#allLocations").show();});
/*------------------------------Argentina states----------------------------*/
/*------------------------------Argentina states----------------------------*/
$("#countryofArgentina").click(function(){$("#argentinaStates").show();});
$("#countryofArgentina").click(function(){$("#argentinaStates").show();});
Line 109: Line 112:
$("#countryofParaguay").click(function(){$("#paraguayStates").show();});
$("#countryofParaguay").click(function(){$("#paraguayStates").show();});
$("#countryofParaguay2").click(function(){$("#paraguayStates").show();$("#allLocations").show();});
$("#countryofParaguay2").click(function(){$("#paraguayStates").show();$("#allLocations").show();});
/*------------------------------Peru states----------------------------*/
 
$("#countryofPeru").click(function(){$("#PeruStates").show();});
 
$("#countryofPeru2").click(function(){$("#PeruStates").show();$("#allLocations").show();});
/*-----------------------------philippines states----------------------------------------*/
/*-----------------------------philippines states----------------------------------------*/
$("#countryofPhilippines").click(function(){$("#philippinesStates").show();});
$("#countryofPhilippines").click(function(){$("#philippinesStates").show();});