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
<cfoutput> | |
#generateSecretKey("BLOWFISH")# | |
</cfoutput> |
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
/** | |
* @author Link.McKinney | |
*/ | |
$(document).ready(function(){ | |
//executes function after page loads in browser | |
startRefresh(); | |
//creates timer, gets data from page and updates the #myupdate_div dic | |
function startRefresh() { |
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> | |
<head> | |
<title>Dynamic Page Reload</title> | |
<meta name="description" content="" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
</head> | |
<body> |
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> | |
<head> | |
<title>My Updated DOM</title> | |
<meta name="description" content="" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
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
$(document).ready(function(){ | |
$(".media-body").find("li:last").on("click", function(){ | |
var price = $(this).closest(".media").data('price'); | |
$(this).text(price); | |
}); | |
}); |
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
<cfcomponent> | |
<cffunction name="processFizz" access="remote" returntype="String"> | |
<cfargument name="input" type="numeric"> | |
<cfset var local = structNew()/> | |
<cfset local.result = ''/> | |
<cfif arguments.input MOD 3 EQ 0 AND arguments.input MOD 5 EQ 0> | |
<cfset local.result = 'fizzbuzz'/> |
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
<cfcomponent output="false"> | |
<cffunction name="valueSearch" returntype="Any" access="remote"> | |
<cfargument name="searchVar" type="numeric" required="true"/> | |
<cfset var local.msg = ''> | |
<cftry> |