Common.js

From Young Beethoven
Jump to navigation Jump to search
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
$(function () {
console.log($('input[name=composer]'))
if($('input[name=composer]').length > 0) {
if($('input[name=composer]')) {
$('#firstHeading').html($($('input[name=composer]')[0]).val()+'<br>'+$('#firstHeading').html());
$('#firstHeading').html($('input[name=composer]').val()+'<br>'+$('#firstHeading').html());
}
}
}());
}());

Revision as of 13:13, 13 June 2022

/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
	if($('input[name=composer]').length > 0) {
		$('#firstHeading').html($($('input[name=composer]')[0]).val()+'<br>'+$('#firstHeading').html());
	}
}());