Re: (ot) Javascript Help

2009-07-09 Thread Dave Watts
> Someone told me that IE cannot talk to an embed tag, only an object tag, but > I believe > the ID vs NAME issue is tripping me up. I don't think IE uses the EMBED tag at all. Give your OBJECT an ID of its own, and use that when you're in IE. Dave Watts, CTO, Fig Leaf Software http://www.figle

Re: (ot) Javascript Help

2009-07-09 Thread James Holmes
There's probably something in jquery that'll do it on one line of cross browser code... mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/9 Michael Muller : > > Ok, I need some Javascript help. > > I just cannot get this script (residing in an iframe)... > >

RE: (ot) javascript help

2008-06-11 Thread Chad Gray
Ah... that makes sense. Thanks everyone for the help! > -Original Message- > From: Greg Morphis [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 1:39 PM > To: CF-Talk > Subject: Re: (ot) javascript help > > because isn't an element of ? > try rem

Re: (ot) javascript help

2008-06-11 Thread Josh Nathanson
Quite a few issues there... First off, you can generally use one or the other of "visibility" or "display" properties. In your case you'd probably want to use "display" since this will actually create or destroy the space that the br occupies. Then, in makeNewEntry you'd want this one line: do

RE: (ot) javascript help

2008-06-11 Thread Andy Matthews
There's an easier way to do this... Rather than using a br and assigning an id to it, use a div. Divs have built in properties that aren't included in br tags. -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 12:34 PM To: CF-Talk Subject: (ot)

RE: (ot) javascript help

2008-06-11 Thread Dawson, Michael
I may be way off-base, but do you need that trailing "e" in "FTDTYPEe"? Could it be the missing "e" from "Firbug"? m!ke On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > Can any javascript gurus tell me why this does not work? I want the tag to display on the page so I ge

Re: (ot) javascript help

2008-06-11 Thread Greg Morphis
because isn't an element of ? try removing the tabbedTicket or use getElementById On Wed, Jun 11, 2008 at 12:34 PM, Chad Gray <[EMAIL PROTECTED]> wrote: > Can any javascript gurus tell me why this does not work? I want the tag > to display on the page so I get a carriage return between the two

Re: (ot) javascript help

2008-06-11 Thread Barney Boisvert
try document.getElementById("FTDTYPEe"). And then go get some library that will take care of all that for you (jQuery, Prototype, etc.). cheers, barneyb On Wed, Jun 11, 2008 at 10:34 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > Can any javascript gurus tell me why this does not work? I want the

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
Test)); Thanks for everyone's help. I think I now see the local scoping issue that I was dealing with before. I will try to return with a better example. ... Ben Nadel www.bennadel.com -Original Message- From: Tanguy Rademakers [mailto:[EMA

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
adding data to an object that doesn't inherently have that attribute. ... Ben Nadel www.bennadel.com -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 1:00 PM To: CF-Talk Subject: Re: OT: Javascript help Asking yo

Re: OT: Javascript help

2006-04-20 Thread Tanguy Rademakers
Hi Ben, I ran into this problem recently - these really helped me out: http://joust.kano.net/weblog/archive/2005/08/08/a-huge-gotcha-with-javascript-closures and http://jibbering.com/faq/faq_notes/closures.html /t ~| Message:

Re: OT: Javascript help

2006-04-20 Thread Cutter (CFRelated)
Asking your question of my javascipt list, the responses were as follows: Repsonse 1 Have you tried this? objA.onclick = new Function ("alert(" + intI + ")" ); Response 2 >for (var intI = 0 ; intI < 10 ; intI++){ >> var objA = document.createElement( "div" ); Place one "var objA;"

RE: OT: Javascript help

2006-04-20 Thread Ben Nadel
el www.bennadel.com -Original Message- From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 10:31 AM To: CF-Talk Subject: Re: OT: Javascript help the most I can think of is to evaluate the value right at the function declaration: objA.onclick = eval ('fu

Re: OT: Javascript help

2006-04-20 Thread Zaphod Beeblebrox
the most I can think of is to evaluate the value right at the function declaration: objA.onclick = eval ('function(){ alert( ' + intI + ' ); };'); On 4/20/06, Ben Nadel <[EMAIL PROTECTED]> wrote: > > Not really for CF, but though someone here could lend some insight > > There is one problem

Re: OT: JavaScript Help - PLEASE!

2002-08-09 Thread S . Isaac Dealey
I would probably use a multi-file RegularExpression replacement in ColdFusion studio ... be very careful tho... and replace all the references to document.form[0] with document.myformname and give form[0] the name it needs... the regex I'm sure will only be necessary for adding the form name, beca

Re: OT: JavaScript Help - PLEASE!

2002-08-09 Thread Critter
oi Christian!! might be..dunno..I'd just do a global search and replace in studio. and rename it [1] -- Critz Macromedia Certified Advanced ColdFusion Developer Friday, August 9, 2002, 10:32:03 AM, you wrote: CA> Folks: CA> I'm in a bit of a

Re: OT: Javascript help

2002-07-02 Thread Alex
www.irt.org On Tue, 2 Jul 2002, Kris Pilles wrote: > I need som help with Frames and javascript... > > I want to make a form field in frame zero to become active when my login > is completed in frame 2 > > Please help > > > -Original Message- > From: peter [mailto:[EMAIL PROTECTED]]

RE: OT Javascript Help

2002-06-14 Thread Joshua Tipton
: OT Javascript Help Not sure about other browsers, but in IE you can use or if you're already past the body tag I believe it's window.onresize = location.reload; note that there are no () parenthesis in the 2nd case ... Out of curiosity ... Why are you wanting to reload the documen

Re: OT Javascript Help

2002-06-14 Thread S . Isaac Dealey
Not sure about other browsers, but in IE you can use or if you're already past the body tag I believe it's window.onresize = location.reload; note that there are no () parenthesis in the 2nd case ... Out of curiosity ... Why are you wanting to reload the document when the window resizes? Do you

Re: OT: Javascript Help

2002-01-10 Thread Dick Applebaum
theDate = new Date(); myMinutes = 5 + theDate.getMinutes(); At 1:35 PM -0500 1/10/02, clint wrote: >I know this is off topic, but it kinda isn't. > >Can someone show me how to add 5 minutes to now in javascript? > >I am having a hard time finding how to do this. > >Thanks! > > ___

Re: OT: Javascript Help

2002-01-10 Thread Alex
www.irt.org On Thu, 10 Jan 2002, clint wrote: > I know this is off topic, but it kinda isn't. > > Can someone show me how to add 5 minutes to now in javascript? > > I am having a hard time finding how to do this. > > Thanks! > > _

Re: OT: Javascript Help

2002-01-10 Thread savan . thongvanh
var fiveMinutes=30; //milliseconds in 5 minutes var now = new Date(); var temp=now.getTime() //temp=now in milliseconds var newTime=new Date(eval(temp+fiveMinutes)); //newTime is now 5 minutes from now or trimmed down var newTime=new Date(new Date().getTime()+3).toLocaleString()