Posts

Showing posts with the label Coldfusion Component

Autocomplete Textbox Jquery with Database Coldfusion

Autocomplete Textbox Jquery with Database Coldfusion using cfcomponent, coldfusion, StructNew ,cffunction, ArrayAppend, mysql, cfqueryparam, Jquery, Jquery Autocomplete < link rel = " stylesheet " href = " jquery-ui.css " /> < script src = " jquery-1.9.1.js " > </ script > < script src = " jquery-ui.js " > </ script > < cfform name = " actoComp " > < table border = " 0 " cellpadding = " 0 " cellspacing = " 10 " > < tr > < td > Account No < br > < cfinput type = " text " name = " accountNo " id = " accountNo " > </ td > < td >   < input type = " submit " name = " Submit " value = " SUBMIT " >   </ td > </ tr > </ table > </ cfform > <...

Load div content on scroll using coldfusion

Scroll.cfm <cfsetting showdebugoutput="no"> <style> .loading{         display: block;         margin: 0px auto;         text-align: center;     } </style> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script> $(document).ready(function() {     var loading = false;     //initial track_load     var track_load = 1;     //a place for my crap     var loadContentDiv = $("#content");     //populate the initial content     loadContent(track_load);         $(window).scroll(function() { //detect page scroll                        if($(window).scrollTop() + $(window).height() == $(...

Am Charts with Coldfusion Component

AmCharts with Coldfusion Component

Post data with getJson in coldfusion

Image
Use of getJson using coldfusion component and QueryNew. OutPut :- After Submit :-

Populating a second select box depending of the first select box option in coldfusion

Populating a second select box depending of the first select box option  binding with coldfusion component

Creating SOAP example using coldfusion

Image
Many coldfusion programmer faces  a problem to connect SOAP with CFC. Here a example to fix the problem that explain how to connect SOAP with CFC?. ----callcfc.cfc---- <cfcomponent output="false" >      <cffunction name="getelement" access="remote" returntype="any" output="false">         <cfargument name="name" type="string" required="false"/>         <cfargument name="firstNumber" type="numeric" required="false"/>         <cfargument name="secondNumber"type="numeric" required="false"/>         <cfreturn arguments.name & " Have " & arguments.firstNumber + arguments.secondNumber & " Point ">      </cffunction> </cfcomponent>  -----Index.cfm <cfsavecontent variable="soap"><?xml version="1.0" encoding="UTF-8"?> ...

Post data by ajax using coldfusion component

Image
In this example, we are using AJAX to handle the form submission with form validations, That's insert data into database table. Output : - On click Submit button: That form post the values on update.cfc file. On Successfully Submit data Screen : I hope this is useful for new coldfusion programmers. Thank You