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: $("#mytable").cli

RE: Javascript question

2011-03-13 Thread andy matthews
7;new_row') ); -Original Message- From: fun and learning [mailto:funandlrnn...@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

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 = document.getElemen

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 act

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 wrote: > > Look into jQuery's .each() method

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" wrote: > > 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

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 I am using jquery to get the id on click of a row: $(".rowclick").click(function() { var row_id = $(this).attr("id"); var getAttributes = row_id.spl

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 I am using jquery to get the id on click of a row: $(".rowclick").click(function() { var row_id = $(this).attr("id"); var getAttributes = row_id.spl

RE: custom tag and javascript question

2010-12-31 Thread Eric Roberts
chael 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?

Re: custom tag and javascript question

2010-12-31 Thread Michael Grant
-Original Message- > From: 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

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 is in a

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 or a Al

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

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 . The basic setup is there is an index.cfm that acts like a driver page that

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:

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: SELECT * FROM tbl_confRooms where confID = #session.confID# 1 2 3 4 4.5 checked > 5 checked > But when it's on the page I need it on I get the error:

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® ColdFu

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: > > > function submitForm() > { > document.getElementById("registerForm").submit() > } > > > and this as the trigger: > > is 0>checked onCli

Re: Javascript question

2009-03-18 Thread Massimo Foti
> > function submitForm() > { > document.getElementById("registerForm").submit() > } > > > and this as the trigger: > > session.roomID > is 0>checked onClick="submitForm()"> > > I am getting the error: > document.registerForm.submit is not a function > > Could someone tell me what I am doing w

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® Cold

Javascript question

2009-03-18 Thread Jenny Gavin-Wear
I have in the header: function submitForm() { document.getElementById("registerForm").submit() } and this as the trigger: checked onClick="submitForm()"> I am getting the error: document.registerForm.submit is not a function Could someone tell me what I am doing wrong, please? tia, Jenny

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 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 wrote: > > and that would/does work. > > I don't

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 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 radi

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 Scott Stewart
}); > > > > > Group 1 > > All > > #i# > > > > Group 2 > > All > > #i# > > > > > > Download jQuery, change the path to it and run this. > > Adrian &

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,

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 > sim

Re: Javascript question

2009-02-13 Thread Scott Stewart
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

RE: Javascript question

2009-02-13 Thread Dawson, Michael
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

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: 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

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 stops

re: CF / Javascript question

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

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 coul

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 { >

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 hav

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"; > }

RE: OT JavaScript question.

2008-11-12 Thread Adrian Lynch
it's a JavaScript"; var9 = "thing or not"; } alert(someObject.var1); Adrian Building 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 que

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

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 _ http://bl

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 softwar

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 th

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 dramatic

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
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 wit

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 http://ad.doubleclick.net/clk;203748912;27390454;

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 no

RE: javascript question

2008-08-14 Thread Dave Phillips
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 built a form for my users where they enter IP addr

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 they

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: (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

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

(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: 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

RE: stupid cfscript/javascript question

2008-02-06 Thread Scott Stewart
: CF-Talk Subject: RE: stupid cfscript/javascript question #show_new(value)# -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

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 My list itemmyFunctionCall(); Nothing to do with your problem

Re: stupid cfscript/javascript question

2008-02-06 Thread gary gilbert
#show_new(dt)# -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

RE: stupid cfscript/javascript question

2008-02-06 Thread Andy Matthews
#show_new(value)# -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 function show_n

RE: stupid cfscript/javascript question

2008-02-06 Thread Dave Watts
> I have this script > > > > function show_new(dt) > > ... > > I need to call it inside a tag > > #show_new(your_date_variable)# Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiac

RE: stupid cfscript/javascript question

2008-02-06 Thread Adrian Lynch
Call it inline My list itemmyFunctionCall(); Nothing to do with your problem, but check out jQuery if you want an easier life with JS. Adrian -Original Message- From: Scott Stewart Sent: 06 February 2008 16:43 To: CF-Talk Subject: stupid cfscript/javascript question I’ve completely

stupid cfscript/javascript question

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

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 element. #getPlates.Name# On 6/1/07

Re: javascript question

2007-06-01 Thread Charlie Griefer
the onchange() goes into the element. #getPlates.Name# On 6/1/07, Chad Gray <[EMAIL PROTECTED]> wrote: > 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

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? function displayStockLevels(ID)

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+")"; $

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 hav

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: http://www.houseoffusion.com

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 provi

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

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 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

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: customOb

RE: SOT: JavaScript question.

2006-12-20 Thread Joshua Cyr
Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 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 = getElemen

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 getElementsByTa

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 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() functio

RE: JavaScript question.

2006-12-20 Thread Andy Matthews
Using jQuery this would be a snap: $('fieldsent#contacts div'); Assuming that the fieldset tag had an ID of contacts. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 2:33 PM To: CF-Talk Subject: SOT: JavaScript question. Is

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 www.BloodSou

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 > > then you can just refer to

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 then you can just refer to #infoText in the js. On 5/25/06, Tony <[EMAIL PROTECTED]> wrote: > > Hi there... this should be quick and easy for you Jscript ninja's... > > in this line

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: > marker.openInf

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 's so that the text, line breaks, and the pop up window isnt huge. an

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

2006-01-29 Thread Eric Roberts
x27;t 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 he

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 su

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 Adrian Lynch
http://www.halestorm.co.uk/ Spring clean out: http://www.adrianlynch.co.uk/selling/ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: 29 January 2006 21:11 To: CF-Talk Subject: OT: Javascript question...or suggestion where to go to get answer I have a JavaScript dilemm

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 t

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

2006-01-19 Thread Bobby Hartsfield
;-) Carve that in stone 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.ope

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

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 http://www.contentbox.com/claude/custo

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

2006-01-19 Thread Bobby Hartsfield
:.:.:.:. Bobby Hartsfield http://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 in

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

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 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 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 system

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 a

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 neve

Re: Javascript question - SOLVED

2005-12-14 Thread eric.creese
thanks that was exactly what I was trying to do. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today

  1   2   3   4   >