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
/* | |
Source http://stackoverflow.com/a/7310398 | |
http://jsfiddle.net/kizu/4RPFa/74/ | |
*/ | |
.frame { | |
height: 25px; /* equals max image height */ | |
width: 160px; | |
border: 1px solid red; |
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
https://htmlagilitypack.codeplex.com/discussions/24346 | |
http://eksith.wordpress.com/2011/06/14/whitelist-santize-htmlagilitypack/ | |
Web Protection | |
http://www.troyhunt.com/2010/05/owasp-top-10-for-net-developers-part-2.html | |
http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api |
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
//Source http://blog.hugeaim.com/2013/04/07/clearing-a-form-with-angularjs/ | |
//make the record pristine | |
$scope.commentForm.$setPristine(); | |
$scope.comment = {..}; |
NewerOlder