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_"
~~~
});
>
>
>
>
> Group 1
>
> All
>
> #i#
>
>
>
> Group 2
>
> All
>
> #i#
>
>
>
>
>
> Download jQuery, change the path to it and run this.
>
> Adrian
&
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,
this.
Adrian
> -Original Message-
> From: Scott Stewart [mailto:saste...@email.unc.edu]
> Sent: 13 February 2009 16:11
> To: cf-talk
> Subject: Javascript question
>
>
> I've got a chunk of javascript that's supposed to do something really
> sim
uery's selectors would make it easier to find the objects you want to
> modify, then you can easily set the disabled flag, as needed.
>
> Thanks,
> Mike
>
> -Original Message-
> From: Scott Stewart [mailto:saste...@email.unc.edu]
> Sent: Friday, February 13, 20
tt Stewart [mailto:saste...@email.unc.edu]
Sent: Friday, February 13, 2009 10:11 AM
To: cf-talk
Subject: Javascript question
I've got a chunk of javascript that's supposed to do something really
simple, toggle radio buttons on and off (disable/enable) based on
another radio button
Ho
I've got a chunk of javascript that's supposed to do something really
simple, toggle radio buttons on and off (disable/enable)
based on another radio button
However, there's a bug in IE,
(http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html)
that for
.com/learning-ext-js/book
_
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,
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:
Do I need to tap into the underlying f
On Wed, Feb 4, 2009 at 1:54 PM, Dave Watts 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
> would
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 Fir
> ...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?
On Wed, Feb 4, 2009 at 12:02 PM, Dave Watts 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 generate co
> 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.
>>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.
~
On Wed, Feb 4, 2009 at 10:34 AM, Dave Watts 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 to be
> >
> 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
the agent can
> help debugging?
> Firefox 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 co
>>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
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
wrote:
>
> 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 fire
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 behi
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 wrote:
>
> thanks for the recommendation... i have downlo
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
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?
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 PM,
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 do
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 wrote:
>
> hi,
>
> sorry for the non-cf question but do
http://www.debugbar.com/
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
On Tue, Feb 3, 2009 at 2:14 PM, Richard White 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 not the
> scrip
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
~~~
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
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) -
d -->
On Tue, Feb 3, 2009 at 4:47 AM, Jason Congerton
wrote:
>
> Hi
>
> I need to access a recordcount from within a javascript function, is this
> possible?
>
>
> function checkBoxValidate(cb) {
> for (j = 0; j < RECORD COUNT OF QUERY TO GO HERE; 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
wrote:
>
> Hi
>
> I need to access a recordcount from within a javascript
Hi
I need to access a recordcount from within a javascript function, is this
possible?
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]
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 wrote:
> I don't think so, this works in FF, you'd think it would balk at that..
> but I'll check again.
>
>
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 wrote:
> 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
[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 wrote:
> tried that, and no love...
>
> Charlie Grie
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 wrote:
>
>
>> tried that, and no love...
>>
>> Charlie Griefer w
do you have multiple elements on the page with the same ID?
On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote:
> tried that, and no love...
>
> Charlie Griefer wrote:
> > I think what Adrian's getting at is your reference to the elements should
> be
> > document.getElementById('foo'), not docu
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 t
13, 2009 at 8:50 AM, Scott Stewart wrote:
>
>
>> 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 wrot
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 wrote:
> getElementById() is a java
>>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 surpris
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 question
>>
>> getElementById() is a ja
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
> Sub
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.getElemen
o: cf-talk
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?
function disableOnPaidLeave(){
document.form1.getEle
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 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?
function disableOnPaidLeave(){
document.form1.getElementById("pre_absent").disabled=true;
document.form1.get
> 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 potential
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 th
ng an Ajax call within a .
The problem is that the javascript is not executing in the recently viewed
items panel. For instance:
var pr_page_id="#currItem#"; snippet(document);
This code is in the loop so that each iteration of an item should show the
"snippet." I can'
/ 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
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 it
a thought!
From: "Jenny Gavin-Wear"
Sent: Wednesday, December 17, 2008 6:54 AM
To: cf-talk
Subject: CF / Javascript question
Hi all,
In a registration procedure, I need to do a verification that the person
registering has read a large piece of text.
The way I thoug
text.
How could 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.doubl
ons
But I always wind up with a Javascript error.
Error processing JavaScript in markup for element mywindow_body:
[Enable debugging by adding 'cfdebug' to your URL parameters to see more
information]
I have tested all these pages independently and they work fine outside the
CFwindow
> -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 {
>
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 hav
Adrian Lynch wrote:
> Or do you mean with?
>
> with someObject {
> var1 = "not";
> var2 = "sure";
> var3 = "about";
> var4 = "this";
> var5 = "syntax";
> var6 = "or";
>
Or do you mean with?
with someObject {
var1 = "not";
var2 = "sure";
var3 = "about";
var4 = "this";
var5 = "syntax";
var6 = "or";
var7 = "whether";
var8 = "
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
http://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
> pr
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
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
~~
>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
>>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";
>documen
>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";
document.getElemen
ginal 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 or display:block
> in this case
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 visibilit
>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; th
isplay = '';
Shouldn't the empty quotes be 'block' ? I 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
--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 or display:block
> in th
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 (
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:
blah
If I wanted this to not display, and behave properly, do I need to set
the display property for the span tag a
> -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
/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
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
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 favouri
ttp://www.sabai-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 throw
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
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 o
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
#options#'>
And something lik
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&quo
- 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 cflocat
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 outpu
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 javascri
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 CFLOCATI
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
&
> 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.
--
-Ju
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 lo
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 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
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
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: Jav
f you want to show an error and redirect, you'll need to do it all in
JavaScript (also, alert should be all lower-case)...
alert("Error");
document.location.href = '/testfile.html';
--
Justin Scott, http://www.tlson.com/
~
What's wrong with the following code?
...
Alert("Error");
http://#CGI.SERVER_NAME#/testfile.html";>
It's not showing up alert box, directly displaying the html file.
Thanks
Chn
~
Hey Great Joy it worked !!
Thanks Charilie :)
>
> your javascript stuff here
>
>
>
>On Thu, Aug 21, 2008 at 1:53 PM, dev losh <[EMAIL PROTECTED]> wrote:
>
>>
~|
Adobe® ColdFusion® 8 sof
your javascript stuff here
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 for a
> cfgrid,
> the function will work ONLY IF PUT
> if i call a function say 'myfun' using ajaxOnLoad("myfun")> for a cfgrid, the function will work
> ONLY IF PUT INSIDE 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 mean by "
301 - 400 of 3965 matches
Mail list logo