Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
J?J #1
I want to execute a function on click
I want to make a link execute a function I made, instead of going to a
different page. Has anyone done anything like this? I've looked in the forums
but theres almost no information on functions.
My attempt. It executes the function on page loadup, not when it's clicked.
<a href='<Cfoutput>#session.myFunctions.Deletestory(I D)#</Cfoutput>'>
Delete Story
</a>
Any help would be greatly appreciated.
J?J Guest
-
Crash Acrobat 8 Mac with AVDocClose() from task button execute function
Dear All, Acrobat 8 Mac crashes (on Intel Mac, OS X 10.4) when some document is closed with AVDocClose() which in its turn is invoked from the... -
execute a Javascript function
I have a Submit form with some form objects that turn off/on through checkboxes using onClick. The same form is used for editing submissions, and... -
#25990 [Opn->Bgs]: ob_get_clean () does not execute a callback function registered in ob_start ()
ID: 25990 Updated by: helly@php.net Reported By: MDonatas at centras dot lt -Status: Open +Status: ... -
#25990 [NEW]: ob_get_clean () does not execute a callback function registered in ob_start ()
From: MDonatas at centras dot lt Operating system: Windows XP PHP version: 4.3.3 PHP Bug Type: Output Control Bug... -
VB-Script Execute function!
Ah! "Stefan Hellberg" <stefanhellberg@hotmail.com> wrote in message news:07cc01c33d93$f274e5e0$a501280a@phx.gbl... -
Stressed_Simon #2
Re: I want to execute a function on click
ColdFusion is a 'Server-Side' mark up language. So to get it to do anything
once your page has hit the browser you need to send a request back to the
Application server. So to get this sort of functionality you would need to use
some 'Client-Side' language like JavaScript to load a page containing a call to
your function.
Stressed_Simon Guest
-
J?J #3
Re: I want to execute a function on click
so i have to go to a different page, huh? Oh well.....
J?J Guest
-
StokeyTCI #4
Re: I want to execute a function on click
Create a javascript function on the page and do a simple postback ie function
postback(){ document.nameofyourform.action = 'thenameofyourpage.cfm';
document.nameofyourform.submit(); form1.fieldyouwantfocuson.focus(); }
StokeyTCI Guest



Reply With Quote

