This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Banner Listeners | |
$(document).on('change', '#profile-banner-file-input', function() { | |
var input = $(this); | |
if (input[0].files && input[0].files.length > 0) { | |
var fileObject = input[0].files[0]; | |
if(fileObject.size<=3*1024*1024) { | |
var reader = new FileReader(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Demo</title> | |
</head> | |
<body> | |
<ul class="list-grop" id="lst-menu"> | |
<li>item 1</li> | |
<li>item 2</li> |