Open main menu

Bulbanews β

Changes

MediaWiki:Newarticleassistant-formscript

417 bytes added, 01:57, 19 August 2011
m
Created page with "<code>: $(document).ready(function() { $('#bnSourcetype').change(function() { $sourceType = $(this).val(); if ($sourceType == 'exclusive' || $sourceType == 'none') { ..."
/* <code> */
$(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');
}
});
});
/* </code> */