我不确定为什么这不起作用。我很困惑,我不知道如何解决它。请任何人指导我,以便我找到解决方案。
感谢。
terms=$('#terms').val();
if (terms == '') {
...
}
<input id="terms" class="inputcheckbox" name="terms" type="checkbox">
答案 0 :(得分:0)
% package require Tk
8.6.5
% package require img::tiff
1.4.2
% set filename "Screenshot from 2015-10-22 23:54:41.png.tiff"
Screenshot from 2015-10-22 23:54:41.png.tiff
% set img [image create photo backPhoto -file $filename]
backPhoto
% # Just to confirm this is really a TIFF
% exec file $filename
Screenshot from 2015-10-22 23:54:41.png.tiff: TIFF image data, little-endian, direntries=15, height=65, bps=23594, compression=none, PhotometricIntepretation=RGB, orientation=upper-left, width=120
imageName