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
// JavaScript Document | |
//Check All Check Box | |
function CheckAll() | |
{ | |
var i; | |
for(i=0;i<document.frmmain.elements.length; i++) | |
{ | |
var elm = document.frmmain.elements[i]; | |
if(elm.type == "checkbox" && elm.name != "chkCheckAll" ) |
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
// JavaScript Document | |
//Check All Check Box | |
function CheckAll() | |
{ | |
var i; | |
for(i=0;i<document.frmmain.elements.length; i++) | |
{ | |
var elm = document.frmmain.elements[i]; | |
if(elm.type == "checkbox" && elm.name != "chkCheckAll" ) |
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
<cfoutput> | |
<cfif structkeyexists(form,"files")> | |
<cffile action="UPLOAD" filefield="files" destination="E:\ColdFusion10\cfusion\wwwroot\AjaxUpload\uploads\" nameconflict="MAKEUNIQUE"> | |
</cfif> | |
<cfheader name="pragma" value="no-cache"> | |
<cfheader name="cache-control" value="private"> | |
<cfheader name="Content-Disposition" value="inline; filename=files.json"> | |
<cfheader name="Access-Control-Allow-Methods" value="GET, POST, ACCEPT, OPTIONS,DELETE" /> | |
<cfheader name="Access-Control-Allow-Headers" value="X-File-Name, X-File-Type, X-File-Size" /> |
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
<cfoutput> | |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Designcell</title> | |
<link rel="stylesheet" href="flashuploader/css/bootstrap.min.css"> | |
<style>body{padding-top:60px;}</style> | |
<link rel="stylesheet" href="flashuploader/css/bootstrap-responsive.min.css"> | |
<link rel="stylesheet" href="flashuploader/css/bootstrap-image-gallery.min.css"> |
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
<cfoutput> | |
<script Language="JavaScript"> | |
var popUpWin2=0; | |
function OpenPopUp(URLStr, left, top, width, height, winName) | |
{ | |
if(popUpWin2) | |
{ | |
if(!popUpWin2.closed) popUpWin2.close(); | |
} | |
popUpWin2 = window.open(URLStr, winName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+''); |
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
<cfcomponent> | |
<cfset ODBCDataSource="xxxxxxxx"> | |
<cffunction name="UpdateMethod" access="remote" output="false" returnType="string"> | |
<cfquery name="InserRecord" datasource="#ODBCDataSource#"> | |
insert into TableName |
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
<cfoutput> | |
<script type="text/javascript" src="includes/jquery.js"></script> | |
<script type="text/javascript" src="includes/jquery.validate.pack.js"></script> | |
<script type="text/javascript" src="includes/jquery.form.js"></script> | |
<script type="text/javascript"> |
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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<!--This example for convert all site div color and not change even if refresh the page--> | |
<script> | |
function getCookie(c_name) | |
{ |
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
<cfoutput> | |
<cfset resourceMethod = "Post"/> | |
<cfset resourceUri="Accounts/{AccountSid}/SMS/Messages.{format}"> | |
<cfset AccountsID="xxxxxxxxxxx"> | |
<cfset AuthToken="xxxxxxxxxxxx"> | |
<cfset ApiVersion = "2010-04-01"/> | |
<cfset ApiEndpoint = "api.twilio.com"/> | |
<cfset form.format="xml"> |
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
<cfoutput> | |
<cfset randNums1 = RandRange(2,9)> | |
<cfset randNums2 = RandRange(2,9)> | |
<cfset randNums3 = RandRange(2,9)> | |
<cfset randNums4 = RandRange(2,9)> |