Re: Javascript question

2011-03-14 Thread Carl Von Stetten
Is it possible that the click event is actually happening on the TD elements and not the TR? You might try attaching the click event to the parent table (so it only binds to one element) and take advantage of event bubbling. Use the event.target attribute to get to the row:

Javascript question

2011-03-13 Thread fun and learning
Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working I have a row like below tr id=row_1_4_2009_abc class=rowclick td/td /tr I am using jquery to get the id on click of a row: $(.rowclick).click(function() { var row_id =

Javascript question

2011-03-13 Thread fun and learning
Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working I have a row like below tr id=row_1_4_2009_abc class=rowclick td/td /tr I am using jquery to get the id on click of a row: $(.rowclick).click(function() { var row_id =

Re: Javascript question

2011-03-13 Thread Jake Churchill
Look into jQuery's .each() method. It helps in loopin over things like that -Jake Sent from my Droid On Mar 13, 2011 9:51 AM, fun and learning funandlrnn...@gmail.com wrote: Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working I

Re: Javascript question

2011-03-13 Thread Russ Michaels
it looks like you are using the classname instead of the object ID. normally the $() function is fer getting a reference to a obejct by its ID. $(.rowclick) shouldn't this be $(row_1_4_2009_abc) On Sun, Mar 13, 2011 at 3:29 PM, Jake Churchill reyna...@gmail.com wrote: Look into jQuery's

Re: Javascript question

2011-03-13 Thread Michael Grant
$(.rowclick) is completely acceptable. It will just add the function to all elements with that class name, which I assume is that the OP is looking for. OP: In the code you pasted what part isn't working exactly? All you are doing is setting some variables. I don't see in the code where any

Re: Javascript question

2011-03-13 Thread Michael Grant
And one other thought. If your code posted accurately reflects the id's of the items you can replace this: var getAttributes = row_id.split(_); var setCommonAttr = getAttributes[1] + _ + getAttributes[2] + _ + getAttributes[3] + _ + getAttributes[4]; var new_row_id =

RE: Javascript question

2011-03-13 Thread andy matthews
...@gmail.com] Sent: Sunday, March 13, 2011 9:43 AM To: cf-talk Subject: Javascript question Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working I have a row like below tr id=row_1_4_2009_abc class=rowclick td/td /tr I am using jquery to get

custom tag and javascript question

2010-12-31 Thread Eric Roberts
I have been running into an issue with not being able to read across forms on a site I am working on. The site is set up so that instead of using cfinclude, they address pages as custom tags (ie header.cfm is called as cf_header url_val=xx. The basic setup is there is an index.cfm that acts

Re: custom tag and javascript question

2010-12-31 Thread Michael Grant
How your cf is set up does little to effect how the javascript will communicate with other forms. JS will traverse your page in the usual way. The fact that one form is in a different file than another form doesn't matter to JS since by the time it gets to the client browser it's all one page as

Re: custom tag and javascript question

2010-12-31 Thread Russ Michaels
CF simply outputs any content in the file, it does not automatically make any decisions about what to display unless you have defined this with if/else block or switch/case statements or are dynamically generating the content. The other thing that could stop content being displayed is a cfsetting

RE: custom tag and javascript question

2010-12-31 Thread Eric Roberts
[mailto:mgr...@modus.bz] Sent: Friday, December 31, 2010 12:49 To: cf-talk Subject: Re: custom tag and javascript question How your cf is set up does little to effect how the javascript will communicate with other forms. JS will traverse your page in the usual way. The fact that one form

Re: custom tag and javascript question

2010-12-31 Thread Michael Grant
[mailto:mgr...@modus.bz] Sent: Friday, December 31, 2010 12:49 To: cf-talk Subject: Re: custom tag and javascript question How your cf is set up does little to effect how the javascript will communicate with other forms. JS will traverse your page in the usual way. The fact that one form

RE: custom tag and javascript question

2010-12-31 Thread Eric Roberts
Grant [mailto:mgr...@modus.bz] Sent: Friday, December 31, 2010 14:20 To: cf-talk Subject: Re: custom tag and javascript question Maybe I'm not following along here. How can the JS assign a value to a hidden form field if CF isn't rendering the hidden form field onto the page? Is this hidden

Javascript question

2009-03-18 Thread Jenny Gavin-Wear
I have in the header: script type=text/javascript function submitForm() { document.getElementById(registerForm).submit() } /script and this as the trigger: input name=roomID type=radio id=radio value=0 cfif session.roomID is 0checked /cfif onClick=submitForm() I am getting the error:

Re: Javascript question

2009-03-18 Thread Ian Skinner
Jenny Gavin-Wear wrote: Could someone tell me what I am doing wrong, please? Does your form control of an id of 'registerForm' with that exact capitalization? Is it the only thing on the page with that id? ~| Adobe®

Re: Javascript question

2009-03-18 Thread Massimo Foti
script type=text/javascript function submitForm() { document.getElementById(registerForm).submit() } /script and this as the trigger: input name=roomID type=radio id=radio value=0 cfif session.roomID is 0checked /cfif onClick=submitForm() I am getting the error:

Re: Javascript question

2009-03-18 Thread Ryan Stille
Do you have ID=registerForm in your opening form tag? Don't forget it is case sensitive, too. -Ryan Jenny Gavin-Wear wrote: I have in the header: script type=text/javascript function submitForm() { document.getElementById(registerForm).submit() } /script and this as the trigger:

Re: Javascript question

2009-03-18 Thread Claude Schneegans
document.registerForm.submit is not a function Apparently, getElementById() has returned an object which is not a form, thus which has no submit function.. Make sure no other object has an id=registerForm. ~| Adobe®

IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
Thanks all for the rapid replies. I'm sure it's something stupid I'm doing, arrghhh I've tried this as a test and it works fine: cfquery name=rooms datasource=#application.cfdatasource# SELECT * FROM tbl_confRooms where confID = #session.confID# /cfquery HTML HEAD /HEAD BODY BGCOLOR=#FF

IUM IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
ha! Got it! it was the submit buttons on the page being named submit ... Thanks all, pointed me in the right direction !! -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: 18 March 2009 14:24 To: cf-talk Subject: SPAM-MEDIUM IUM Re: Javascript

Javascript question

2009-02-13 Thread Scott Stewart
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 forces me (I think)

RE: Javascript question

2009-02-13 Thread Dawson, Michael
[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 However, there's a bug

Re: Javascript question

2009-02-13 Thread Scott Stewart
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, 2009 10:11 AM To: cf-talk Subject: Javascript question I've got

RE: Javascript question

2009-02-13 Thread Adrian Lynch
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 simple, toggle radio buttons on and off (disable/enable

RE: Javascript question

2009-02-13 Thread Adrian Lynch
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

Re: Javascript question

2009-02-13 Thread Scott Stewart
/ /cfloop /div /cfoutput Download jQuery, change the path to it and run 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

Re: Javascript question

2009-02-13 Thread Claude Schneegans
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_

Re: Javascript question

2009-02-13 Thread Brian Swartzfager
jquery doesn't work with this layout, that's the first place I went. Not to keep 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

Re: Javascript question

2009-02-13 Thread Scott Stewart
and that would/does work. I don't know if it's an error with the layout or jquery can't traverse nested tables or what but I've never been able to get it to function consistently in this layout Brian Swartzfager wrote: jquery doesn't work with this layout, that's the first place I went.

Re: Javascript question

2009-02-13 Thread Nathan Strutz
Ok scott, you've piqued my interest. You've _got_ to share this interface that chokes jQuery. :) nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Fri, Feb 13, 2009 at 12:57 PM, Scott Stewart saste...@email.unc.eduwrote: and that

RE: Javascript question

2009-02-13 Thread Adrian Lynch
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

re: CF / Javascript question

2008-12-19 Thread Jenny Gavin-Wear
/ 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

re: CF / Javascript question

2008-12-17 Thread CF Developer
! 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

CF / Javascript question

2008-12-17 Thread Jenny Gavin-Wear
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 thought about doing is is with a scrolling div area which enables a continue to next page option when the user has scrolled to the bottom of the text. How could

Re: CF / Javascript question

2008-12-17 Thread Ravi Gehlot
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

Re: OT JavaScript question.

2008-11-12 Thread Cutter (CFRelated)
var myObj = { variableA: 'some value', variableB: 12, variableC: function(){ // a function } }; I think, you'll want to test. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _

RE: OT JavaScript question.

2008-11-12 Thread Andy Matthews
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

OT JavaScript question.

2008-11-12 Thread Ian Skinner
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

RE: OT JavaScript question.

2008-11-12 Thread Adrian Lynch
a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Ian Skinner Sent: 12 November 2008 19:34 To: cf-talk Subject: OT JavaScript question. Quick question that I just can not think of the right terms to find in Google. There is a syntax short cut in JavaScript

Re: OT JavaScript question.

2008-11-12 Thread Ian Skinner
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);

Re: OT JavaScript question.

2008-11-12 Thread Charlie Griefer
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

RE: OT JavaScript question.

2008-11-12 Thread Jim Davis
-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

javascript question

2008-08-14 Thread BJ McShane
I built a form for my users where they enter IP addresses. They are use to putting in the .(period) in between the numbers but I built the form so all they would have to do is type in the number. Is there a way I can change the keystroke of a . (period) to a tab. So when they are typing they

RE: javascript question

2008-08-14 Thread Andy Matthews
Why not just have it all in one form field? Easier to store, easier to manage, no extra coding needed. -Original Message- From: BJ McShane [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 10:25 AM To: CF-Talk Subject: javascript question I built a form for my users where

RE: javascript question

2008-08-14 Thread Dave Phillips
. I know it will work in IE, but not sure about other browsers. Hope this helps! Sincerely, Dave Phillips http://www.dave-phillips.com -Original Message- From: BJ McShane [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 10:25 AM To: CF-Talk Subject: javascript question I

Re: javascript question

2008-08-14 Thread Yuliang Ruan
remember that when you do this, it changes the behavior of the keystroke in the entire window. If you have another field that can input a period(.), this will make it a tab too. Not sure if you're allowed to check focus and based on the focused element, maybe make a decision to bypass or

Re: javascript question

2008-08-14 Thread Yuliang Ruan
oh wait n/m the way dave has it, it only activates on that element. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: javascript question

2008-08-14 Thread BJ McShane
Dave thanks for the input. I did do some google searches on this but never found a solution that would work. I'll try what you posted and try some more searches to see what I can find. thanks! ~| Adobe® ColdFusion® 8 software

Re: javascript question

2008-08-14 Thread BJ McShane
Yes I did take that into account. If I keep in at the input tag level I think it should only effect the fields I want. I'll have to do more testing. thanks, ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: javascript question

2008-08-14 Thread BJ McShane
I'll probably change it that way. I stored it in 4 different field in the DB since each of the 4 parts mean certain things to the user. They could search and sort based on what they are trying to find. Also when they search they can just put input into any of the fields to find all the IPs

Re: javascript question

2008-08-14 Thread William Seiter
If the code isn't cross-browser compatible (not tested, probably is though) You could use the same concept to activate the javascript , when the javascript senses the key that was pressed, if it was the 'period' then have the element's 'tabindex' detected and then have the system 'focus()' on

(ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
I have a form that posts to itself. Once submitted, I create a dynamic url on the fly. Using javascript, how can I submit the form to itself and open the new url in another browser window? Can this be done w/o creating a 'go between' cf template? Thanks, Che

RE: (ot) Javascript Question...

2008-05-16 Thread Bobby Hartsfield
window.open() most popup blockers will block it though. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:14 PM To: CF-Talk Subject: (ot) Javascript Question

RE: (ot) Javascript Question...

2008-05-16 Thread Che Vilnonis
Thanks. Because of popup blockers I guess a regular href will have to do. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 4:21 PM To: CF-Talk Subject: RE: (ot) Javascript Question... window.open() most popup blockers will block it though

stupid cfscript/javascript question

2008-02-06 Thread Scott Stewart
I’ve completely forgotten how to do this…. I have this script cfscript function show_new(dt) { if(DateDiff(d,dt,Now()) LT 30) { return 'font color=redNew!/font'; }; return ''; } /cfscript I need to call it inside a li tag

RE: stupid cfscript/javascript question

2008-02-06 Thread Dave Watts
I have this script cfscript function show_new(dt) ... I need to call it inside a li tag li style=list-style-type:square; margin-left:-18px; margin-right: 8px; li ...cfoutput#show_new(your_date_variable)#/cfoutput/li Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

RE: stupid cfscript/javascript question

2008-02-06 Thread Adrian Lynch
/javascript question I’ve completely forgotten how to do this…. I have this script cfscript function show_new(dt) { if(DateDiff(d,dt,Now()) LT 30) { return 'font color=redNew!/font'; }; return ''; } /cfscript I need to call it inside

RE: stupid cfscript/javascript question

2008-02-06 Thread Andy Matthews
li#show_new(value)#/li -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:43 AM To: CF-Talk Subject: stupid cfscript/javascript question I've completely forgotten how to do this.. I have this script cfscript function show_new(dt

Re: stupid cfscript/javascript question

2008-02-06 Thread gary gilbert
li style=list-style-type:square; margin-left:-18px; margin-right: 8px; cfoutput #show_new(dt)# /cfoutput /li -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and

RE: stupid cfscript/javascript question

2008-02-06 Thread Adrian Lynch
*whistles* I hope no one see my reply :OS *whistles* -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 06 February 2008 16:49 To: CF-Talk Subject: RE: stupid cfscript/javascript question Call it inline liMy list itemscript type=text/javascriptmyFunctionCall

RE: stupid cfscript/javascript question

2008-02-06 Thread Scott Stewart
To: CF-Talk Subject: RE: stupid cfscript/javascript question li#show_new(value)#/li -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:43 AM To: CF-Talk Subject: stupid cfscript/javascript question I've completely forgotten how to do

Re: stupid cfscript/javascript question

2008-02-06 Thread Bruce Sorge
Is that what I smell. I thought the guy in the cube next to me broke wind. :) Bruce Scott Stewart wrote: Thanks all... Sorry for the brain fart ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

javascript question

2007-06-01 Thread Chad Gray
I thought this would be an easy one but I cant get it to work. I want a text input to change value when an option in a select box is changed. I am looping over my options in the select with database information. Do I need to use something other then onChange? script function

Re: javascript question

2007-06-01 Thread Charlie Griefer
the onchange() goes into the select element. select name=NEW_Plate_to_make onchange=displayStockLevels(this.options[this.selectedIndex].value); cfloop query=getPlates option value=#getPlates.ID##getPlates.Name#/option /cfloop /select On 6/1/07, Chad Gray [EMAIL PROTECTED] wrote: I thought

RE: javascript question

2007-06-01 Thread Chad Gray
Oh... duh! Thanks for the help Charlie that works great! -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 3:39 PM To: CF-Talk Subject: Re: javascript question the onchange() goes into the select element. select name=NEW_Plate_to_make

OT: Javascript Question

2007-04-12 Thread Scott Stewart
Hey all, How would I control a select tag based on this. function updateSelectedJournals(responseStruct) { $('selectedJournals').innerHTML = Selected Journals (+responseStruct.total+); $('lstSelectedTerms').innerHTML = responseStruct.lstoutput; I have

RE: Javascript Question

2007-04-12 Thread Scott Stewart
Subject: OT: Javascript Question Hey all, How would I control a select tag based on this. function updateSelectedJournals(responseStruct) { $('selectedJournals').innerHTML = Selected Journals (+responseStruct.total+); $('lstSelectedTerms').innerHTML

OT: Javascript Question

2007-03-07 Thread Brad Wood
Hi guys, I've got a JavaScript question which has me puzzled. Can an instance of a JavaScript object know the name of its instance? That might not make any sense, so I have some quick sample code. Consider the following: SCRIPT LANGUAGE=JavaScript TYPE=text/javascript customObject

RE: Javascript Question

2007-03-07 Thread Dave Watts
Can an instance of a JavaScript object know the name of its instance? My understanding is that it generally can't; this makes sense, since an object may have more than one reference. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

RE: Javascript Question

2007-03-07 Thread Brad Wood
By more that one reference do you mean more than one instance, or more than one pointer to the same instance? ~Brad My understanding is that it generally can't; this makes sense, since an object may have more than one reference.

RE: Javascript Question

2007-03-07 Thread Jim Davis
-Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 10:53 PM To: CF-Talk Subject: OT: Javascript Question Hi guys, I've got a JavaScript question which has me puzzled. Can an instance of a JavaScript object know the name of its instance

RE: Javascript Question

2007-03-07 Thread Dave Watts
By more that one reference do you mean more than one instance, or more than one pointer to the same instance? The latter. Jim just explained it better than I did. But he's probably not typing with his thumbs! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software

RE: Javascript Question

2007-03-07 Thread Brad Wood
Lol. It all makes perfect sense. ~Brad ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive:

SOT: JavaScript question.

2006-12-20 Thread Ian Skinner
Is there any way to restrict a getElementByTag() function to a subsection of the DOM? I.E. Only return div tags that are children of the contacts fiedset node? I've tried a couple of nebulous attempts at this with no success. -- Ian Skinner Web Programmer BloodSource

RE: JavaScript question.

2006-12-20 Thread Andy Matthews
--//- -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 2:33 PM To: CF-Talk Subject: SOT: JavaScript question. Is there any way to restrict a getElementByTag() function to a subsection of the DOM? I.E. Only return div tags that are children

Re: SOT: JavaScript question.

2006-12-20 Thread Qasim Rasheed
Prototype (JS) library has a built in function named $$() for this purpose. You can also use this implementation http://simon.incutio.com/archive/2003/03/25/getElementsBySelector HTH On 12/20/06, Ian Skinner [EMAIL PROTECTED] wrote: Is there any way to restrict a getElementByTag() function

Re: SOT: JavaScript question.

2006-12-20 Thread Ryan Stille
Ian Skinner wrote: Is there any way to restrict a getElementByTag() function to a subsection of the DOM? I.E. Only return div tags that are children of the contacts fiedset node? I've tried a couple of nebulous attempts at this with no success. I don't know how getElementsByTag()

RE: SOT: JavaScript question.

2006-12-20 Thread Ian Skinner
I don't know how getElementsByTag() differs from getElementsByTagName, but you can call the later on a node. nodes = getElementById('yourdiv').getElementsByTagName('p'); Thanks, I thought I tried something like this, but I will give it another go. getElementsByTag() differs from

RE: SOT: JavaScript question.

2006-12-20 Thread Joshua Cyr
: Wednesday, December 20, 2006 3:47 PM To: CF-Talk Subject: RE: SOT: JavaScript question. I don't know how getElementsByTag() differs from getElementsByTagName, but you can call the later on a node. nodes = getElementById('yourdiv').getElementsByTagName('p'); Thanks, I thought I tried something like

OT: Javascript question

2006-05-25 Thread Tony
Hi there... this should be quick and easy for you Jscript ninja's... in this line: marker.openInfoWindowHtml(#url.address# #url.city# #url.state# #url.zip# Report time: #url.time# Report Date: #url.date# ); i want to put BR's so that the text, line breaks, and the pop up window isnt huge.

NEVERMIND, thanks! Re: OT: Javascript question

2006-05-25 Thread Tony
nevermind, it works now, i guess i had another problem the day i was testing this, and that was not the issue. it works all good. thanks! tony On 5/25/06, Tony [EMAIL PROTECTED] wrote: Hi there... this should be quick and easy for you Jscript ninja's... in this line:

Re: OT: Javascript question

2006-05-25 Thread Michael Traher
try dropping #chr(10)# into the string, I think that will work. might be nicer to set one display variable earlier cfset infoText = url.address chr(10) url.city chr(10) then you can just refer to #infoText in the js. On 5/25/06, Tony [EMAIL PROTECTED] wrote: Hi there... this should be

Re: OT: Javascript question

2006-05-25 Thread Tony
true. its still very alpha stage... but its very simple to change to that! good idea. tw On 5/25/06, Michael Traher [EMAIL PROTECTED] wrote: try dropping #chr(10)# into the string, I think that will work. might be nicer to set one display variable earlier cfset infoText = url.address

OT: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Eric Roberts
I have a JavaScript dilemma in one of my CF apps and I am not sure how to solve it. We have popup that is used to modify some values in the database before running a report. We want this popup to close if you click on another window. I tried putting close in an onBlur event as part of the body

RE: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Adrian Lynch
2006 21:11 To: CF-Talk Subject: OT: Javascript question...or suggestion where to go to get answer I have a JavaScript dilemma in one of my CF apps and I am not sure how to solve it. We have popup that is used to modify some values in the database before running a report. We want this popup to close

RE: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Eric Roberts
I will have to try that...thanks! Eric -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Sunday, 29 January 2006 15:32 To: CF-Talk Subject: RE: Javascript question...or suggestion where to go to get answer Only tested on IE6: Two pages, temp.cfm and temp2.cfm

Re: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Mark Drew
Drew On 29 Jan 2006, at 22:04, Eric Roberts wrote: I will have to try that...thanks! Eric -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Sunday, 29 January 2006 15:32 To: CF-Talk Subject: RE: Javascript question...or suggestion where to go to get answer

RE: Javascript question...or suggestion where to go to get answer

2006-01-29 Thread Eric Roberts
work, however, I may have to use something like this though. Thanks! Eric -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Sunday, 29 January 2006 18:51 To: CF-Talk Subject: Re: Javascript question...or suggestion where to go to get answer I dont have the code here

SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread J W
I have a popUp window that triggers after XXX number of seconds from the main browser window, works great when the browser window is visable on the desktop. Pops the new window to the front perfectly. ...BUT if the browser window is minimized to the task bar before the time elapses, the popup

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Robert Everland III
This most likely is due to stopping the popup that has been built into the browsers. They have stopped popups from opening when there is no action by the user to initiate the popup. Companies have found ways around this, which I'm sure if you did enough research you could fine it. I would find

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread J W
Its actually for a pretty harmless inactivity timeout so the user doesn't loose session. Basically after the time elapsed, it pops up a screen with a warning. From that popup they then have a choice of keeping the session active closing the session or after another minute logs them out of my

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Robert Everland III
I would do an absolute div that when show it self at the highest level once the timeout is about to occur. It won't catch a users's eye, but it will have the same desired result. Or even a confirm box that pops up to the user. Not as pretty but fast and easy to implement. Bob

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Claude Schneegans
Its actually for a pretty harmless inactivity timeout so the user doesn't loose session. I would use an HTTPrequest to do this. The advantage is that nothing shows up on the screen, and it works even with anti-popups. Look at XMLHttpRequest, even if no XML is involved. --

RE: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Bobby Hartsfield
:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 2:23 PM To: CF-Talk Subject: Re: SOT: Javascript question... Window.open... Weird results. I would do an absolute div that when show it self at the highest level once the timeout is about to occur. It won't catch a users's eye, but it will have

RE: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Bobby Hartsfield
://acoderslife.com -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 4:03 PM To: CF-Talk Subject: Re: SOT: Javascript question... Window.open... Weird results. Its actually for a pretty harmless inactivity timeout so the user doesn't

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Claude Schneegans
If you aren't stuck on the idea of alerting the user about the session And the less you ask the user about things he doesn't kown about, the better will you application work ;-) -- ___ REUSE CODE! Use custom tags; See

Re: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread J W
You know I would agree with you but this particular app it is better to alert the users... BTW. window.focus() just before the popup in the original browser window fixed the issue. Wored in both firefox and IE on windows. Jeff On 1/19/06, Claude Schneegans [EMAIL PROTECTED] wrote: If you

RE: SOT: Javascript question... Window.open... Weird results.

2006-01-19 Thread Bobby Hartsfield
somewhere please! ;-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 4:51 PM To: CF-Talk Subject: Re: SOT: Javascript question... Window.open... Weird results. You know I

RE: Javascript question

2005-12-14 Thread Andrew Scott
action is completed. Regards, Andrew Scott Quote of the Day: Never express yourself more clearly than you think. - N. Bohr -Original Message- From: eric.creese [mailto:[EMAIL PROTECTED] Sent: Wednesday, 14 December 2005 5:05 PM To: CF-Talk Subject: Javascript question Quick qustion, I

  1   2   3   4   >