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
<cfscript> | |
x = createobject("webservice","http://www.webservicex.net/genericbarcode.asmx?WSDL",{refreshWSDL="yes",wsdl2javaArgs="-a -O 2000"}); | |
argCollection.BarCodeParam = structNew(); | |
argCollection.BarCodeParam.Height = 100; | |
argCollection.BarCodeParam.Width = 200; | |
argCollection.BarCodeParam.Angle = 50; | |
argCollection.BarCodeParam.Ratio = 1; | |
argCollection.BarCodeParam.Module = 1; | |
argCollection.BarCodeParam.Left = 10; | |
argCollection.BarCodeParam.Top = 10; |
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
insert into <table name> | |
select <field list> from <table name from copy data> | |
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
insert into <table name> select <field list> from <table name from copy data> |
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
insert into table2 | |
select * from table1 | |
insert into table2 (no,name,city) | |
select no,name,city from table1 |
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
INSERT INTO `muracms`.`tcontentcomments` | |
(commentId,contentId,comments,NAME,email,url,entered,isApproved,siteId) | |
SELECT | |
MC.id AS commentId, | |
MUT.contentId AS contentId, | |
MC.content AS comments, | |
MC.creator_name AS NAME, | |
MC.creator_email AS email, | |
MC.creator_url AS url, | |
MC.created_on AS entered, |
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
<cfscript> | |
alltask=ArrayNew(1); | |
taskService=createobject('java','coldfusion.server.ServiceFactory').getCronService(); | |
alltask=taskservice.listall(); | |
</cfscript> |
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
<cfajaximport tags="cfwindow"> | |
<script type="text/javascript" src="/CFIDE/scripts/ajax/ext/adapter/ext/ext-base.js"></script> | |
<script type="text/javascript" src="/CFIDE/scripts/ajax/ext/ext-all.js"></script> | |
<script> | |
function submitMe(){ | |
var frm = window.document.frmTest; | |
ColdFusion.Window.create("Windowresponse","Response Window","",{x:100,y:100,height:200,width:400,modal:true,closable:true,draggable:true,resizable:true,center:true,initshow:true}); | |
objWin = ColdFusion.Window.getWindowObject("Windowresponse"); | |
var objupdate = objWin.getUpdater(); | |
objupdate.update({url:frm.action,params:Ext.lib.Ajax.serializeForm("frmTest"), method:"POST",scripts:true}); |
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
<html> | |
<head> | |
<script src="/js/jquery-1.4.2.min.js" type="text/javascript"></script> | |
<script> | |
function loadMe(){ | |
$.ajax({ | |
url:"scribble2.cfm?", | |
success:function(res){ | |
$("#div1").html(res); | |
} |
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
<html> | |
<head> | |
<script src="/js/jquery-1.4.2.min.js" type="text/javascript"></script> | |
<script> | |
function loadMe(){ | |
$.ajax({ | |
url:"scribble2.cfm?", | |
success:function(res){ | |
showMessage(res,"div1"); | |
} |
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
<html> | |
<head> | |
<script src="/js/jquery-1.4.2.min.js" type="text/javascript"></script> | |
<script> | |
function loadMe(){ | |
for(var i=1;i<=3;i++){ | |
$.ajax({ | |
url:"scribble2.cfm?", | |
success:function(res){ | |
showMessage(res,i); // Call another function with additional parameter |
OlderNewer