qrcode.js
//create new qr code with qrcode id (from div)
create new qr code with qrcode id (from div)
create new qr code with qrcode id ( from div )
function makeCode () {		
	elText = document.getElementById("event");
	if (!elText.value) {   	
		alert("Type an event");
		elText.focus();
		return;
	}
	var eText = document.getElementById("datepicker");
	if (!eText.value) {
		alert("Select a date");
		elText.focus();
		return;
	}else{
		elText.value+= ":" +eText.value;
$('#qrcode').qrcode();
	$(":text").prop("disabled", true);	
	$("#Download").show();
	$("#lbldate").hide();
	$("#Back").show();
	$("#generate").hide();
	  $("#qrcode").show();
	  $("#datepicker").hide();
	}
}
function makeCode ( ) { elText = document . getElementById ( "event" ) ; if ( ! elText . value ) { alert ( "Type an event" ) ; elText . focus ( ) ; return ; } var eText = document . getElementById ( "datepicker" ) ; if ( ! eText . value ) { alert ( "Select a date" ) ; elText . focus ( ) ; return ; } else { elText . value += ":" + eText . value ; $ ( '#qrcode' ) . qrcode ( ) ; $ ( ":text" ) . prop ( "disabled" , true ) ; $ ( "#Download" ) . show ( ) ; $ ( "#lbldate" ) . hide ( ) ; $ ( "#Back" ) . show ( ) ; $ ( "#generate" ) . hide ( ) ; $ ( "#qrcode" ) . show ( ) ; $ ( "#datepicker" ) . hide ( ) ; } }
create new qr code with qrcode id (from div)
create new qr code with qrcode id ( from div )
//var  oCanvas = document.getElementById("qrcode"); /*
	    var qrcode = new QRCode("qrcode", {
            render: "canvas",
            width: 200,
            height: 200,
            colorDark: "#000000",
            colorLight: "#ffffff",
            correctLevel: QRCode.CorrectLevel.H
        });*/ //qrcode.makeCode(elText.value); /*
	$("#qrcode").qrcode({ 
    "render": "canvas",
    "width": 100,
    "height": 100,
    "color": "#3a3",
    "text": elText.value
});*/ /*
	jQuery('#qrcode').qrcode({
		render	: "canvas",
		text	: elText.value
	});*/