MediaWiki:Newarticleassistant-formscript: Difference between revisions
From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
m (Created page with "→<code>: $(document).ready(function() { $('#bnSourcetype').change(function() { $sourceType = $(this).val(); if ($sourceType == 'exclusive' || $sourceType == 'none') { ...") |
(No difference)
|
Revision as of 01:57, 19 August 2011
/* */
$(document).ready(function() {
$('#bnSourcetype').change(function() {
$sourceType = $(this).val();
if ($sourceType == 'exclusive' || $sourceType == 'none') {
$('#bnSourcename').closest('tr').hide('blind');
$('#bnSourcelink').closest('tr').hide('blind');
} else {
$('#bnSourcename').closest('tr').show('blind');
$('#bnSourcelink').closest('tr').show('blind');
}
});
});
/*
*/