This file contains hidden or 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
| /** | |
| * Make capital on input | |
| * | |
| * @param fieldId | |
| * @param thisValue | |
| * | |
| * Example: onkeypress="return inputCapital(event, this.id, 100);" | |
| */ | |
| function inputCapital(fieldId, thisValue){ | |
| $('#'+fieldId).val( $('#'+fieldId).val().toUpperCase() ); |
This file contains hidden or 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
| <img id="previewHolderCustomerSignature" onclick="setImage( this.id, 'fileCustomerSignaturePhoto' );" src="https://placeholdit.imgix.net/~text?txtsize=22&txt=Upload customer signature (225px X 150px)&w=225&h=80&txttrack=0" class="img-thumbnail text-center" style="cursor: pointer"> | |
| <input type="file" name="fileCustomerSignaturePhoto" value="" id="fileCustomerSignaturePhoto" class="required borrowerImageFile" style="display: none" > | |
| <script> | |
| function setImage(imageLinkId, inputFileName){ | |
| $("#"+inputFileName).trigger('click').change(function() { | |
| if (this.files && this.files[0]) { | |
| var reader = new FileReader(); | |
| reader.onload = function(e) { | |
| $('#'+imageLinkId).attr('src', e.target.result); | |
| } |
This file contains hidden or 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
| package test; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; | |
| import java.util.Scanner; | |
| import javax.crypto.Cipher; |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script> | |
| //Add a row in "#addedRows" by cloning '#row' | |
| var cloneCount = 1; //set global var for count clone number | |
| function cloneRow(contentRowId, addRowId, removeRowId){ | |
| var newRowId = addRowId+ cloneCount++; | |
| var newDeleteId = "deleteId-"+newRowId; |
This file contains hidden or 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> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <script type='text/javascript' src='//code.jquery.com/jquery-2.1.0.js'></script> | |
| <script>//<![CDATA[ | |
| //Add a row in "#addedRows" by cloning '#row' | |
| var cloneCount = 1; |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
| <script> | |
| var rowCount = 1; | |
| function addMoreRows(){ | |
| var recRow = '<tr id="rowCount'+rowCount+'">' + |
NewerOlder