creditUpload.js
430 Bytes
/*! dili 2016-01-06 */
define(function(require,exports,module){$(function(){var clock=setTimeout(function(){$(".manage-hint").slideUp()},1e4);$(".manage-hint .hide").bind("click",function(){clearTimeout(clock),$(this).parent().slideUp()}),$(".upload-area .submitBtn").bind("click",function(){$("#file-btn").click()}),$("#file-btn").bind("change",function(){alert($(this).attr("value")),$(".file-img").attr("src",this.value)})})});