Could you post the HTML source for us? Or point to it on t'internet.
Adrian
-Original Message-
From: Scott Stewart [mailto:saste...@email.unc.edu]
Sent: 13 February 2009 16:28
To: cf-talk
Subject: Re: Javascript question
I wish I could, I've had fits trying to get jquery
jquery doesn't work with this layout, that's the first place I went.
Adrian Lynch wrote:
I know, I hate it sometimes too when you ask a question and someone says,
don't do it that way, do it this completely different way, but, jQuery!
script type=text/javascript src=/scripts/jquery-1.3.1
Hi,
IMHO, the simplest on most efficient way to bypass the problem would be
to make sure
no element has a name which could be identical to the ID of another one.
For instance, always use something like ID=id_ NAME=name_
of radio buttons.
This works find in FireFox and IE7:
script type=text/javascript src=jquery-1.2.6.min.js/script
script type=text/javascript
$(document).ready(function() {
$(input[type='radio'][name='radio1']).click(function() {
var $clickedRadioButton
=text/javascript src=jquery-1.2.6.min.js/script
script type=text/javascript
$(document).ready(function() {
$(input[type='radio'][name='radio1']).click(function() {
var $clickedRadioButton= $(this);
if($clickedRadioButton.val()== Yes
beating the jQuery horse, but if jQuery is referencing the
radio button by ID or some other non-positional selector, the layout
shouldn't matter.
Just to be sure, I wrote up a quick little test with 2 sets of radio
buttons. This works find in FireFox and IE7:
script type=text/javascript
SHARE IT, SHARE IT, SHARE IT, SHARE IT, SHARE IT!! :OD
Go on, take out any sensitive info (but make sure the structure remains the
same).
Adrian
-Original Message-
From: Nathan Strutz [mailto:str...@gmail.com]
Sent: 13 February 2009 21:50
To: cf-talk
Subject: Re: Javascript
_
http://blog.cutterscrossing.com
Anthony Tietjen wrote:
I would like to call a custom javascript function when clicking on a cell in
an cfgrid (of html format). The closest thing I can find is to use the
HREF= attribute, but it doesn't seem to work with javascript inside
I would like to call a custom javascript function when clicking on a cell in
an cfgrid (of html format). The closest thing I can find is to use the
HREF= attribute, but it doesn't seem to work with javascript inside it.
Simple example:
cfgridcolumn name=Foo header=Foo href
What about installing a user agent switcher add on for firefox? this way
you can sort of be testing in IE,
Excuse a may be silly question, but how just switching the agent can
help debugging?
Firefox will make Javascript believe it is IE, but will it act as IE
will make Javascript believe it is IE, but will it act as IE?
I've not tried it. My assumption would be that if Firefox is rendering it
as if it were being rendered in IE, then the JS would behave as if it were
IE. Seems like a logical conclusion. But no.. I've not tried it to be
able to say
I've not tried it. My assumption would be that if Firefox is rendering it
as if it were being rendered in IE, then the JS would behave as if it were
IE. Seems like a logical conclusion. But no.. I've not tried it to be
able to say with 100% certainty.
Changing the user agent does not
On Wed, Feb 4, 2009 at 10:34 AM, Dave Watts dwa...@figleaf.com wrote:
I've not tried it. My assumption would be that if Firefox is rendering
it
as if it were being rendered in IE, then the JS would behave as if it
were
IE. Seems like a logical conclusion. But no.. I've not tried it
Ah, gotcha. I was under the impression it would render as if it were the
specified browser.
If it was so, why would Mozilla not ALWAYS support IE functions?
What would be the advantage of switching the user agent otherwise?
Very poor indeed.
What would be the advantage of switching the user agent otherwise? I can
see if maybe a particular site only supported a given browser... would there
be others? Just curious.
You can use it to tell the server to generate code for another
browser, and there are all kinds of uses for that.
I
On Wed, Feb 4, 2009 at 12:02 PM, Dave Watts dwa...@figleaf.com wrote:
What would be the advantage of switching the user agent otherwise? I can
see if maybe a particular site only supported a given browser... would
there
be others? Just curious.
You can use it to tell the server to
...and now I'm lost :) I'd normally assume that by don't work you mean
they don't render properly. But with that being the crux of this particular
tangent, I'm assuming that's not what you mean. What server side code would
be poorly-written enough to not work based on the browser?
I've
It is common to have to have 2 or 3 versions of CSS to accommodate for
browser inconsistencies. A friend of mine does *nothing but* UI design and
he says that he usually has at least 2 versions of CSS.
So that plugin that Charlie showed me allowed me to see the the IE
Stylesheet in FF and use
On Wed, Feb 4, 2009 at 1:54 PM, Dave Watts dwa...@figleaf.com wrote:
...and now I'm lost :) I'd normally assume that by don't work you mean
they don't render properly. But with that being the crux of this
particular
tangent, I'm assuming that's not what you mean. What server side code
Hi
I need to access a recordcount from within a javascript function, is this
possible?
script
function checkBoxValidate(cb) {
for (j = 0; j RECORD COUNT OF QUERY TO GO HERE; j++) {
if (eval(document.addCust.ckbox[ + j + ].checked) == true) {
document.addCust.ckbox[j].checked = false;
if (j
Hi Jason,
If your javascript block is within cfoutput tags, you can just put
#myquery.recordcount# in there.
Francois Levesque
http://blog.critical-web.com/
On Tue, Feb 3, 2009 at 5:47 AM, Jason Congerton
ja...@jasoncongerton.co.ukwrote:
Hi
I need to access a recordcount from within
--
/script
/cfoutput
On Tue, Feb 3, 2009 at 4:47 AM, Jason Congerton
ja...@jasoncongerton.co.ukwrote:
Hi
I need to access a recordcount from within a javascript function, is this
possible?
script
function checkBoxValidate(cb) {
for (j = 0; j RECORD COUNT OF QUERY TO GO HERE; j++) {
if (eval
Jason,
It's important to remember that Javascript is commonly rendered AFTER
Coldfusion has compiled the page. This allows you to use Coldfusion to help
render such content.
Here is a basic request cycle to help show this:
Client makes request - Server proccess request (Coldfusion) - Server
Hi Thanks to you all,
I was just missing the cfoutput tags!
Thanks!!
Jason,
It's important to remember that Javascript is commonly rendered AFTER
Coldfusion has compiled the page. This allows you to use Coldfusion to help
render such content.
Here is a basic request cycle to help show
thanks for the recommendation... i have downloaded it and it tells me what line
of code an error is on but it doesn't allow me to view that line of code, does
it just alert you to the line or is there a way, like firebug, to get more
details on the line and view the code etc... thanks (sorry
i haven't really used it much... but really nothing holds a candle to
firebug.
What about installing a user agent switcher add on for firefox? this way
you can sort of be testing in IE, yet have firebug available?
https://addons.mozilla.org/en-US/firefox/addon/59
On Tue, Feb 3, 2009 at 3:16
WOW... this is very powerful
thanks Charlie, seems like a perfect answer :)
i haven't really used it much... but really nothing holds a candle to
firebug.
What about installing a user agent switcher add on for firefox? this way
you can sort of be testing in IE, yet have firebug available?
Question: Have you tried using a javascript library that hides and handles
the cross browser issues behind the scenes? JQuery is the hot one these
days, but other like Prototype, YUI and others are available and usually
have excellent documentation.
These libraries can really take the headache
He only thing I have seen is the IE debugger in Aptana pro ($99). I use the
FOSS version of Aptana and absolutely love it.
http://www.aptana.com/docs/index.php/Installing_the_IE_debugger
G!
On Tue, Feb 3, 2009 at 6:16 PM, Richard White rich...@j7is.co.uk wrote:
thanks for the
http://www.debugbar.com/?langage=en
Free for personal use. I find that debugging JS to be a very personal issue.
This is very handy as well
http://www.my-debugbar.com/wiki/IETester/HomePage
On Tue, Feb 3, 2009 at 5:14 PM, Richard White rich...@j7is.co.uk wrote:
hi,
sorry for the non-cf
hi,
sorry for the non-cf question but does anyone know a good opensource JS
debugger for IE, that is similar to FireBug for FireFox, and is not the script
debugger in IE (as i cannot get it to show on my browser)
thanks
richard
Nice find Charlie. Thanx. I am in cross browser hell right now Someone
please kill me.
G!
On Tue, Feb 3, 2009 at 6:25 PM, Charlie Griefer
charlie.grie...@gmail.comwrote:
i haven't really used it much... but really nothing holds a candle to
firebug.
What about installing a user agent
http://www.debugbar.com/
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
On Tue, Feb 3, 2009 at 2:14 PM, Richard White rich...@j7is.co.uk wrote:
hi,
sorry for the non-cf question but does anyone know a good opensource JS
debugger for IE, that is similar to FireBug for FireFox, and is
no i havent but will look into this, thanks
i have been meaning to look into JQuery for some time and know that it will
help us out if we do so this is the perfect excuse!
thanks
Question: Have you tried using a javascript library that hides and handles
the cross browser issues behind
Hey all,
I'm trying to disable radio button based on a selection. These functions
are called from an onClick.
Any reason why they'd work in Firefox and not in IE 7?
script language=javascript type=application/javascript
function disableOnPaidLeave(){
document.form1.getElementById
Is getElementById a method of a form?
Shouldn't it just be document.getElementById()?
Adrian
-Original Message-
From: Scott Stewart [mailto:saste...@email.unc.edu]
Sent: 13 January 2009 16:30
To: cf-talk
Subject: Javascript compatibility question
Hey all,
I'm trying
Subject: Javascript compatibility question
Hey all,
I'm trying to disable radio button based on a selection. These functions
are called from an onClick.
Any reason why they'd work in Firefox and not in IE 7?
script language=javascript type=application/javascript
function disableOnPaidLeave
getElementById() is a javascript function that finds a specified element
on a page it can be a form or page element.
in this case I'm trying to disable/enable radio buttons.
Adrian Lynch wrote:
Is getElementById a method of a form?
Shouldn't it just be document.getElementById()?
Adrian
Yup, I know, but is there a method form.getElementByID()? I've only ever
used it in document.
Fancy trying jQuery instead?
Adrian
-Original Message-
From: Scott Stewart [mailto:saste...@email.unc.edu]
Sent: 13 January 2009 16:51
To: cf-talk
Subject: Re: Javascript compatibility
-Original Message-
From: Scott Stewart [mailto:saste...@email.unc.edu]
Sent: 13 January 2009 16:51
To: cf-talk
Subject: Re: Javascript compatibility question
getElementById() is a javascript function that finds a specified
element
on a page it can be a form or page element
getElementById() is a javascript function that finds a specified element
on a page it can be a form or page element.
At least in IE, this methods applies only to the document object.
see:
http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-40002357
I'm surprised it works
I think what Adrian's getting at is your reference to the elements should be
document.getElementById('foo'), not document.form1.getElementById('foo').
can you give that a shot?
On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart saste...@email.unc.eduwrote:
getElementById() is a javascript function
...@email.unc.eduwrote:
getElementById() is a javascript function that finds a specified element
on a page it can be a form or page element.
in this case I'm trying to disable/enable radio buttons.
Adrian Lynch wrote:
Is getElementById a method of a form?
Shouldn't it just
Yeah, what Charlie said :OD
-Original Message-
From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
Sent: 13 January 2009 17:11
To: cf-talk
Subject: Re: Javascript compatibility question
I think what Adrian's getting at is your reference to the elements
should
do you have multiple elements on the page with the same ID?
On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart saste...@email.unc.eduwrote:
tried that, and no love...
Charlie Griefer wrote:
I think what Adrian's getting at is your reference to the elements should
be
I don't think so, this works in FF, you'd think it would balk at that..
but I'll check again.
Charlie Griefer wrote:
do you have multiple elements on the page with the same ID?
On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart saste...@email.unc.eduwrote:
tried that, and no love...
[charlie.grie...@gmail.com]
Sent: Tuesday, January 13, 2009 12:48 PM
To: cf-talk
Subject: Re: Javascript compatibility question
do you have multiple elements on the page with the same ID?
On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart saste...@email.unc.eduwrote:
tried that, and no love
Paste the whole page/code in question on pastebin so we can see the whole
thing
http://pastebin.com/
On Tue, Jan 13, 2009 at 12:51 PM, Scott Stewart saste...@email.unc.eduwrote:
I don't think so, this works in FF, you'd think it would balk at that..
but I'll check again.
Charlie Griefer
hmm... true. good point. is there any chance you can post the full
rendered html to nomorepasting.com so i can take it for a spin locally?
On Tue, Jan 13, 2009 at 9:51 AM, Scott Stewart saste...@email.unc.eduwrote:
I don't think so, this works in FF, you'd think it would balk at that..
but
I have a standard javascript function on a CF page intended to open a popup
window:
function openProfileWindow(url)
{
popupWin = window.open(url, 'detail',
'width=600,height=350,left=1,top=1,scrollbars=yes,resizable=yes');popupWin.window.focus();
}
On the CF page I loop through the results
I have a standard javascript function on a CF page intended to open a popup
window:
...
On the CF page I loop through the results of a query and output them. I made
one of the values a
hyperlink in order to open a popup window to display the potentially lengthy
content of another data
call within a DIV.
The problem is that the javascript is not executing in the recently viewed
items panel. For instance:
script type=text/javascript
var pr_page_id=#currItem#; snippet(document);
/script
This code is in the loop so that each iteration of an item should show the
snippet. I can't
/ Javascript question
Why not place a checkbox on the page (after the textarea)
indicating:
[ ] I have read the prescribed text.
If the box is checked, fire off a JS to enable the Continue button, else
keep it disabled.
Just a thought
!
From: Jenny Gavin-Wear
jenn...@fasttrackonline.co.uk
Sent: Wednesday, December 17, 2008 6:54 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: CF / Javascript question
Hi all,
In a registration procedure, I need to do a verification that the person
registering has read a large
I best go about this using CF and/or javascript, please?
Grateful for any ideas ...
Jenny
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk
Jenny,
Great question. It is not really easy to accomplish what you have in
mind. I understand that you want the user to scroll down in order to
show a button for continue. Dzone.com has a great example of how you can
scroll down using javascript. If you can get the position where
with a new admin window to perform CRUD operations.
I've tried it both this way:
a href=cfoutput#AjaxLink('WinRegion.cfm')#/cfoutputEdit Regions/a
And this way:
a href=javascript:ColdFusion.navigate('WinRegion.cfm','mywindow');Edit
Regions/a
But I always wind up with a Javascript error.
Error
://blog.cutterscrossing.com
Ian Skinner wrote:
Quick question that I just can not think of the right terms to find in
Google.
There is a syntax short cut in JavaScript if you are assigning several
properties to the same object. What
You can do this:
Var something = somethingelse = onemorething = 0;
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 1:34 PM
To: cf-talk
Subject: OT JavaScript question.
Quick question that I just can not think of the right terms to find
Quick question that I just can not think of the right terms to find in
Google.
There is a syntax short cut in JavaScript if you are assigning several
properties to the same object. What is it?
~|
Adobe® ColdFusion® 8
Or do you mean with?
with someObject {
var1 = not;
var2 = sure;
var3 = about;
var4 = this;
var5 = syntax;
var6 = or;
var7 = whether;
var8 = it's a JavaScript;
var9 = thing or not;
}
alert(someObject.var1);
Adrian
Building
Adrian Lynch wrote:
Or do you mean with?
with someObject {
var1 = not;
var2 = sure;
var3 = about;
var4 = this;
var5 = syntax;
var6 = or;
var7 = whether;
var8 = it's a JavaScript;
var9 = thing or not;
}
alert(someObject.var1
On Wed, Nov 12, 2008 at 1:14 PM, Ian Skinner [EMAIL PROTECTED] wrote:
Yes that is the one I was looking for!. I found 'with' to be a very
poor search term on Google, or any search engine for that matter.
heh. reminds me of http://bash.org/?514353 :)
--
I have failed as much as I have
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 4:15 PM
To: cf-talk
Subject: Re: OT JavaScript question.
Adrian Lynch wrote:
Or do you mean with?
with someObject {
var1 = not;
var2 = sure;
var3 = about
Hey all,
If I'm setting the visibility for a div (display:none or display:block
in this case), do also need to set visibility for anything inside the
div. IE:
div id=a style=display:none;
span class=whatever
blah
/span
/div
If I wanted this to not display, and behave properly,
You shouldn't do.
What's going wrong in your example?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: 10 October 2008 15:19
To: cf-talk
Subject: SOT: setting div visibility with javascript
Hey all,
If I'm setting the visibility for a div (display:none
no
answers.
There it isclear as mud
Craig Dudley wrote:
You shouldn't do.
What's going wrong in your example?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: 10 October 2008 15:19
To: cf-talk
Subject: SOT: setting div visibility with javascript
Hey all
could be wrong though.
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: 10 October 2008 15:59
To: cf-talk
Subject: Re: setting div visibility with javascript
It's complicated:
here's the template:
http://cfm.pastebin.com/m549bfe76
what I'm specifically dealing
If I'm setting the visibility for a div (display:none or display:block
in this case), do also need to set visibility for anything inside the
div.
Nope - you only need to do it to the parent item.
Note, you're not setting visibility, you're setting display. This isn't
being pedantic; there is
No I understand that, display determines whether the the div will be
rendered and visibility sets similar to opacity=0, you can't see it but
it's there
Peter Boughton wrote:
If I'm setting the visibility for a div (display:none or display:block
in this case), do also need to set visibility
.
There it isclear as mud
Craig Dudley wrote:
You shouldn't do.
What's going wrong in your example?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: 10 October 2008 15:19
To: cf-talk
Subject: SOT: setting div visibility with javascript
Hey all
here's the template:
http://cfm.pastebin.com/m549bfe76
You really should investigate jQuery.
It will allow you to ditch all this ugly overly-verbose code:
document.getElementById(COMMENTB).style.display = none;
document.getElementById(COMMENTC).style.display = none;
here's the template:
http://cfm.pastebin.com/m549bfe76
You really should investigate jQuery.
It will allow you to ditch all this ugly overly-verbose code:
document.getElementById(COMMENTB).style.display = none;
document.getElementById(COMMENTC).style.display = none;
Umm, it might be as simple as the JS not setting the display property
correctly?
e.g.
document.getElementById(COMMENTB).style.display = none;
document.getElementById(COMMENTC).style.display = '';
document.getElementById(FRMSUBMIT).style.display = '';
Shouldn't the empty quotes be 'block' ? I
There was a call to a second function that was messing with the display
settings. I removed the display settings from Q4Chk() and placed them in the
second function and all is well..
Thanks to all for letting me bounce this off of you
sas
hi we are constantly using coldfusion with javascript and keep getting wierd
javascript error message when calling functions with cfc's. things like an
object was expected or my favourite exception thrown but not caught (maybe
adobe could give coldfusion a pair of gloves to help it catch
If you don't get 10 more posts saying Firebug for Firefox I'd be highly
suprised.
Adrian
Building a DB of errors at http://cferror.org/
-Original Message-
From: Anthony Doherty [mailto:[EMAIL PROTECTED]
Sent: 07 October 2008 09:01
To: cf-talk
Subject: Debugging Coldfusion and javascript
-dee.com/
Anthony Doherty wrote:
hi we are constantly using coldfusion with javascript and keep getting wierd
javascript error message when calling functions with cfc's. things like an
object was expected or my favourite exception thrown but not caught (maybe
adobe could give coldfusion a pair
/firefox/addon/1843
On Tue, Oct 7, 2008 at 4:00 AM, Anthony Doherty
[EMAIL PROTECTED] wrote:
hi we are constantly using coldfusion with javascript and keep getting
wierd javascript error message when calling functions with cfc's. things
like an object was expected or my favourite exception thrown
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 8:03 AM
To: cf-talk
Subject: Re: Debugging Coldfusion and javascript
Your only option, is Firebug, a plug in for Firefox.
It's a great option but far from your only one. ;^)
I still
Chrome actually has a pretty nice debugger within it, if you happen to be
running Chrome.
On Tue, Oct 7, 2008 at 8:02 AM, Scott Stewart [EMAIL PROTECTED]wrote:
Your only option, is Firebug, a plug in for Firefox.
Anthony Doherty wrote:
hi we are constantly using coldfusion with javascript
Your only option, is Firebug, a plug in for Firefox.
Anthony Doherty wrote:
hi we are constantly using coldfusion with javascript and keep getting wierd
javascript error message when calling functions with cfc's. things like an
object was expected or my favourite exception thrown
In my form i building the number of dynamic select boxes. And it works .
The only thing that does not work when i make the selection and save into the
databse and then come back it does not do the preselect. How can i do this
This it works for dispaly the drop down
cfset selectOptions =
Hrm...
You're right. That doesn't make any sense though.
-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 10:12 PM
To: CF-Talk
Subject: Re: Javascript in CFC
- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
That's
What's wrong with the following code?
cfif testqry.recordcount EQ 1
...
cfelse
script type=text/javascript
Alert(Error);
/script
cflocation url=http://#CGI.SERVER_NAME#/testfile.html;
/cfif
It's not showing up alert box, directly displaying
script type=text/javascript
Alert(Error);
/script
cflocation url=http://#CGI.SERVER_NAME#/testfile.html;
First thing is that CFLOCATION sets a 302 header which tells the browser
to redirect, and none of the output is sent to the browser.
If you
alert() is lower case. If that doesn't work try this:
The cflocation is sending back a status code of 301 to your browser. In
fact, I don't even know if ColdFusion sends back any content created in
the reponse body or not.
~Brad
Original Message
Subject: Javascript
CF runs on the server, before the Javascrtipt would even have a chance to
hit the browser.
-Original Message-
From: chn g [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 1:05 PM
To: CF-Talk
Subject: Javascript in CFC
What's wrong with the following code?
cfif
The cflocation is sending back a status code of 301 to your browser.
You mean it sets 302 as a temporary redirect, not permanent as a 301
would be.
In fact, I don't even know if ColdFusion sends back any content
created in the reponse body or not.
It doesn't when you use CFLOCATION. It's
Thank you, its working now.
alert() is lower case. If that doesn't work try this:
The cflocation is sending back a status code of 301 to your browser. In
fact, I don't even know if ColdFusion sends back any content created in
the reponse body or not.
~Brad
What's wrong with the
This works? Am I missing something? How is the browser seeing javascript code
in a cfc?
From: chn g [EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 2:14 PM
To: CF-Talk
Subject: Re: Javascript in CFC
Thank you, its working now.
alert() is lower
This works? Am I missing something? How is the browser seeing javascript
code in a cfc?
The CFCOMPONENT and CFFUNCTION tags both support an output attribute
that can be set to yes to allow their output to be injected into the
content stream back to the user.
--
-Justin Scott, http
That's irrelevant.
The ColdFusion code would completely process before ANY javascript code
would even make it to the browser.
-Original Message-
From: Justin Scott [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 1:24 PM
To: CF-Talk
Subject: Re: Javascript in CFC
Andy Matthews wrote:
That's irrelevant.
The ColdFusion code would completely process before ANY javascript code
would even make it to the browser.
Actually, you can have output go to the browser before the CF code
completes by using CFFLUSH. This would negate CFLOCATION though, so
I have some CFCs I use to build needed javascript/html that is outputted
onto pages at the time they are loaded.
On Thu, Sep 4, 2008 at 1:29 PM, Andy Matthews [EMAIL PROTECTED]wrote:
That's irrelevant.
The ColdFusion code would completely process before ANY javascript code
would even make
I use document.location.href in javascript instead of cflocation.
Andy Matthews wrote:
That's irrelevant.
The ColdFusion code would completely process before ANY javascript code
would even make it to the browser.
Actually, you can have output go to the browser before the CF code
completes
- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
That's irrelevant.
The ColdFusion code would completely process before ANY JavaScript code
would even make it to the browser.
Andy, I don't think you understand how cflocation works. Even though it is a
CF tag
I having an issue with ajaxOnLoad function to use with gfgrid.
if i call a function say 'myfun' using cfset ajaxOnLoad(myfun) for a
cfgrid,
the function will work ONLY IF PUT INSIDE HEAD/HEAD tags. i need to make
that js dynamic.. please some one can help me with any tweaks that will allow
JS
if i call a function say 'myfun' using cfset
ajaxOnLoad(myfun) for a cfgrid, the function will work
ONLY IF PUT INSIDE HEAD/HEAD tags. i need to make that js
dynamic.. please some one can help me with any tweaks that
will allow JS to be placed anywhere in the code ?
I'm not sure what you
cfsavecontent variable=headText
your javascript stuff here
/cfsavecontent
cfhtmlhead text=#headText# /
On Thu, Aug 21, 2008 at 1:53 PM, dev losh [EMAIL PROTECTED] wrote:
I having an issue with ajaxOnLoad function to use with gfgrid.
if i call a function say 'myfun' using cfset ajaxOnLoad
301 - 400 of 3910 matches
Mail list logo