RE: (ot) JavaScript detecting foreign scripts

2015-04-01 Thread UXB Internet
look to see if your client is seeing the Google ad being replaced by the myturfads.com In case you are wondering what I am talking about. Some ISP's are using a proxy technology that in real time intercepts the Google Ad JavaScript code and replaces it with their own advertising from a co

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread UXB Internet
> Just throwing ideas out there. :) All my pontificating aside for this particular purpose I am just trying to detect if the string "adx.myturfads.com" exists anywhere on the DOM. For my sister, I've already stopped it from loading by editing the hosts file on the PC to disallow that domain.

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread DURETTE, STEVEN J
do it for advertising. There are ways to verify your direct connection to a server, but it requires diligence on the part of the browser user. I was thinking at first that you could generate a hash of the page being send and append it in http headers and then use javascript to hash the DOM and co

RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread UXB Internet
28, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com > -Original Message- > From: Dave Watts [mailto:dwa...@figleaf.com] > Sent: Tuesday, March 3, 2015 8:08 AM > To: cf-talk > Subject: Re: (ot) JavaScript detecting foreig

Re: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread Dave Watts
> > Second, if you use TLS (SSL) exclusively, you should be able to prevent > > this. > > I tested for this and yes it does prevent it. However that is not actually > the point. The point is much bigger than the pennies they sole from my > websites ad revenue. Maybe I am the only one but to me

Re: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread Jochem van Dieten
On Mon, Mar 2, 2015 at 8:52 PM, UXB Internet wrote: > I apologize for this off topic post. A while back someone posted a thread > where they were working on a script that would enumerate the DOM and detect > foreign JS scripts running or loaded. I am looking to consult with that > person off-l

RE: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
Thanks Dave I do appreciate the information. > First, my understanding is that this only happens for users of Comcast public > access hotspots, not for subscribed users: > > http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad- > injections-threaten-security

Re: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread Dave Watts
not for subscribed users: http://arstechnica.com/tech-policy/2014/09/why-comcasts-javascript-ad-injections-threaten-security-net-neutrality/ Second, if you use TLS (SSL) exclusively, you should be able to prevent this. Google/Doubleclick support this, and I really think it's the way of the future. We re

RE: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
> I developped a client side javascript error trackink tool and it helped me a lot > to debug my scripts, but I get many errors happening in foreign JS scripts. > I fixed my program to detect 5 or 6 of them and now the system is almost > perfect. Should have known it was yo

Re: (ot) JavaScript detecting foreign scripts

2015-03-02 Thread Claude Schnéegans
>>I am looking to consult with that person off-list Please don't do it off-list, several of us could be interrested. I developped a client side javascript error trackink tool and it helped me a lot to debug my scripts, but I get many errors happening in foreign JS scripts. I fixed

(ot) JavaScript detecting foreign scripts

2015-03-02 Thread UXB Internet
I apologize for this off topic post. A while back someone posted a thread where they were working on a script that would enumerate the DOM and detect foreign JS scripts running or loaded. I am looking to consult with that person off-list because I have a case where I need to do the same. It app

Re: How can I force clients to refresh JavaScript files?

2014-09-12 Thread Claude Schnéegans
>>The easiest way is to simply expire the page using cfheader. The problem with this technique is that you will force a reload even if the file was not changed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.c

Re: How can I force clients to refresh JavaScript files?

2014-09-12 Thread Claude Schnéegans
>>Try CF Static (http://cfstatic.riaforge.org/), it appends a unique string to the end of the file requests, Ok, good technique. But instead of downloading 262 files, I developped this simple CF_script custom tag: File #attributes.src# not found Then replace all like b

RE: How can I force clients to refresh JavaScript files?

2014-09-12 Thread David Phelan
laza, Yonkers, NY 10701 914-457-6465 Office dphe...@emerginghealthit.com www.emerginghealthit.com www.montefiore.org From: =?ISO-8859-1?Q?Claude_Schn=E9egans Sent: Friday, September 12, 2014 11:05 AM To: cf-talk Subject: How can I force clients to refresh JavaSc

Re: How can I force clients to refresh JavaScript files?

2014-09-12 Thread Dean Lawrence
> > I wonder why browsers caching Javascript and CSS files at least do not > check if the date of the file on the server is still the same as the one in > their cache. > Since I implemented a Javascript errors log, I catch many errors showing > that the old file in the cache was u

How can I force clients to refresh JavaScript files?

2014-09-12 Thread Claude Schnéegans
I wonder why browsers caching Javascript and CSS files at least do not check if the date of the file on the server is still the same as the one in their cache. Since I implemented a Javascript errors log, I catch many errors showing that the old file in the cache was used days after the error

Use JavaScript to get flash cfform object and name

2013-11-14 Thread Josh Sandoval
Hello and thanks in advance :) I have a flash cfform and on this form I have a cfinput button with an onclick event that calls some JavaScript. This JavaScript attempts to run the onclick event of another cfinput button on another flash cfform. The problem I''m having is t

Use JavaScript to get flash cfform object and name

2013-11-14 Thread Josh Sandoval
Hello and thanks in advance :) I have a flash cfform and on this form I have a cfinput button with an onclick event that calls some JavaScript. This JavaScript attempts to run the onclick event of another cfinput button on another flash cfform. The problem I''m having is t

dhtmlxGrid creating JavaScript

2013-04-19 Thread Mallory Woods
ted to ask about creating it in a Javascript variable so that I can use CF to create it. What I have so far is this: function SaveXML(UserData) { var file = fso.CreateTextFile(FILENAME, true); file.WriteLine('\n'); file.WriteLine('\n&#

Re: ColdFusion 10 Administrator Javascript Errors

2012-08-09 Thread Carl Von Stetten
Russ, Thank you for the suggestions. I just figured it out. On my IIS site, I hadn't removed the Deny URL request filtering on the /scripts folder (the Deny URL filtering per the lockdown guide). Once I removed it, all is well. Thanks, -Carl ~~

Re: ColdFusion 10 Administrator Javascript Errors

2012-08-09 Thread Russ Michaels
008R2. I tried to do the install as close to the CF9 Server Lockdown > Guide as possible, given that CF9 and CF10 have different underlying > engines (CF9 is JRun and CF10 is Tomcat, in the Administrator CF9 used Java > applets for file browsing and CF10 uses jQuery and JavaScript UI > co

ColdFusion 10 Administrator Javascript Errors

2012-08-09 Thread Carl Von Stetten
for file browsing and CF10 uses jQuery and JavaScript UI components). Anyway, things seem to be working fine for the most part, except that some of the ColdFusion Administrator functionality is broken for me. Any place that requires using the new jQuery file browser throws script errors. For

SOT: JavaScript MVC with Ember.js

2012-05-15 Thread andy matthews
Today Devnet released an article that I wrote on a JavaScript MVC framework called Ember.js. http://www.adobe.com/devnet/html5.html If you're familiar with Backbone, Spine, or Angular, then you might be interested in this article. Hope you like it.

RE: Javascript test in ColdFusion

2012-04-04 Thread andy matthews
My pleasure RR. andy -Original Message- From: Robert Rhodes [mailto:rrhode...@gmail.com] Sent: Wednesday, April 04, 2012 7:05 PM To: cf-talk Subject: Re: Javascript test in ColdFusion Thanks to all for the suggestions on this. I went with the approach below and it worked well

Re: Javascript test in ColdFusion

2012-04-04 Thread Phillip Vector
Umm.. Why not just put in ? On Mon, Mar 26, 2012 at 8:39 PM, andy matthews wrote: > > A dead simple way of testing for JavaScript: > > >        window.location.href = 'javascriptCapable.cfm'; > > > > If a browser understands JS they get one page, if t

Re: Javascript test in ColdFusion

2012-04-04 Thread Robert Rhodes
Thanks to all for the suggestions on this. I went with the approach below and it worked well. Thank you Andy, -RR On Mon, Mar 26, 2012 at 11:39 PM, andy matthews wrote: > > A dead simple way of testing for JavaScript: > > >window.location.href = 'j

RE: Javascript test in ColdFusion

2012-03-26 Thread andy matthews
A dead simple way of testing for JavaScript: window.location.href = 'javascriptCapable.cfm'; If a browser understands JS they get one page, if they don't they get another. One thing to consider though that it's not quite as simple as "understanding JS"

Re: Javascript test in ColdFusion

2012-03-26 Thread Azadi Saryev
if i had to do something like this, i would: 1) build a site that works without js (i.e. all links take user to a new page that shows requested data) 2) enhance the site with ajax (i.e. override default link actions and load data via ajax without redirects) there's no one-liner you can put into y

Re: Javascript test in ColdFusion

2012-03-26 Thread Cameron Childress
This is something you must do on the client (browser) and is not information available on the server. So, putting it in Application.cfc isn't at straightforward as you think. If you google "test javascript enabled" you'll get a bunch of links on some client side

Javascript test in ColdFusion

2012-03-26 Thread Robert Rhodes
Hello again. I have a site that loads all the content in ajax. I also have a version of the site that does not use ajax. I am looking for some code I can put in the application.cfm to test to see if the visitor's browser supports javascipt or not, so I can load the right version of the site. A

RE: Javascript error help!

2012-02-23 Thread Stephens, Larry V
Look at jquery.maskedinput-1.2.2.min.js I have a lot of masked fields in hidden divs. -Original Message- From: Ken Hammond [mailto:khamm...@saleminc.com] Sent: Wednesday, February 22, 2012 1:08 PM To: cf-talk Subject: Javascript error help! I am running into this exact problem

Re: Javascript error help!

2012-02-22 Thread ColdFusion Developer
Have you looked at this: http://www.coderanch.com/t/119883/HTML-CSS-JavaScript/move-focus-control-because-it On Wed, Feb 22, 2012 at 1:08 PM, Ken Hammond wrote: > > I am running into this exact problem this guy had and cannot find a fix > ANYWHERE. > > http://www.elliottsp

Javascript error help!

2012-02-22 Thread Ken Hammond
I am running into this exact problem this guy had and cannot find a fix ANYWHERE. http://www.elliottsprehn.com/cfbugs/bugs/79033 I can show some example code of mine but basically I'm having the same problem he is describing. I have a hidden div with cfinputs that have masks and validation a

Re: CF Javascript errors

2012-01-12 Thread Eric Roberts
com> wrote: >> >> > >> > That is very possible...I haven't checked, but i can. Thanks Dave. >> > >> > On Thu, Jan 12, 2012 at 3:21 PM, Dave Watts wrote: >> > >> > > >> > > > I am getting an illegal character error in

Re: CF Javascript errors

2012-01-12 Thread Eric Roberts
012 at 3:21 PM, Dave Watts wrote: > > > > > > > > > I am getting an illegal character error in /cfide/scripts/cfform.js > and > > > > masks.js as well as it not being able to find a _CF_checkdate (which > I > > > did > > > > not see de

Re: CF Javascript errors

2012-01-12 Thread Russ Michaels
; > > not see defined in the source. I think that whatever this is, it is > > > causing other javascript functions to either fail or act sporadically. > > Any > > > advice on this would be appreciated. > > > > It sounds to me like those files have been c

Re: CF Javascript errors

2012-01-12 Thread Eric Roberts
I > did > > not see defined in the source. I think that whatever this is, it is > > causing other javascript functions to either fail or act sporadically. > Any > > advice on this would be appreciated. > > It sounds to me like those files have been corrupted in some wa

Re: CF Javascript errors

2012-01-12 Thread Dave Watts
> I am getting an illegal character error in /cfide/scripts/cfform.js and > masks.js as well as it not being able to find a _CF_checkdate (which I did > not see defined in the source.  I think that whatever this is, it is > causing other javascript functions to either fail or act

CF Javascript errors

2012-01-12 Thread Eric Roberts
I am getting an illegal character error in /cfide/scripts/cfform.js and masks.js as well as it not being able to find a _CF_checkdate (which I did not see defined in the source. I think that whatever this is, it is causing other javascript functions to either fail or act sporadically. Any

RE: Programming for an iPod - OT javascript/HTML question

2011-09-07 Thread Stephens, Larry V
, why wasn't IE complaining about the code? (Rhetorical question) -Original Message- From: Stephens, Larry V [mailto:steph...@indiana.edu] Sent: Tuesday, September 06, 2011 2:25 PM To: cf-talk Subject: Programming for an iPod - OT javascript/HTML question I'm working on a

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Judah McAuley
on a form in CF that displays just fine on a desktop/laptop but > the javascript breaks in Safari once I introduce a . > > If anyone has a clue about this, please contact me off-list at > steph...@indiana.edu > > Thanks. > > ~

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Michael Grant
Can you post a link? On Tue, Sep 6, 2011 at 2:25 PM, Stephens, Larry V wrote: > > I'm working on a form in CF that displays just fine on a desktop/laptop but > the javascript breaks in Safari once I introduce a . > > If anyone has a clue about this, please contact me

Re: Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Lists
So you have an example you can see online? Is it only mobile safari that breaks or does desktop safari as well? On Sep 6, 2011, at 1:25 PM, "Stephens, Larry V" wrote: > > I'm working on a form in CF that displays just fine on a desktop/laptop but > the javascript

Programming for an iPod - OT javascript/HTML question

2011-09-06 Thread Stephens, Larry V
I'm working on a form in CF that displays just fine on a desktop/laptop but the javascript breaks in Safari once I introduce a . If anyone has a clue about this, please contact me off-list at steph...@indiana.edu T

Re: assigning javascript variable to coldfusion.Please assist

2011-06-14 Thread Scott Brady
OK. It looks like I misread your code earlier -- I thought you were hard-coding the variable, when you were actually getting it from a cfinput. Unfortunately, I haven't used Dreamweaver in years (since MX 2004, I believe), so not sure how you'd do it in there. Others here probably have experience

Re: assigning javascript variable to coldfusion.Please assist

2011-06-13 Thread Gunjan Upadhayay
. >ColdFusion doesn't work that way. By the time the browser gets to the point >of running any JavaScript, all of the ColdFusion processing for the page has >been done. There is some things you could use to accomplish what it looks >like what you're trying to do. > >First,

RE: What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
Excellent! Thanks! -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Sunday, June 12, 2011 4:42 PM To: cf-talk Subject: Re: What am I missing with this code? (Javascript) Not sure, but now that I look at it, you don't need to pass slidePosition around at al

Re: What am I missing with this code? (Javascript)

2011-06-12 Thread Jason Fisher
Not sure, but now that I look at it, you don't need to pass slidePosition around at all now that it's a global variable. Try this: var slidePosition = 1; $(document).ready(function() { playTrack();

RE: What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
on = ' + slidePosition); playTrack(slidePosition); }; -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Sunday, June 12, 2011 3:06 PM To: cf-talk Subject: Re: What am I missing with this code? (Javascript) You declared slidePosition as a local

Re: What am I missing with this code? (Javascript)

2011-06-12 Thread Jason Fisher
You declared slidePosition as a local variable inside the ready() function, so it doesn't exist for the other functions. Try making it global, like this: var slidePosition = 0; $(document).ready(function() { playTrack(slidePosition);

What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
. I'm sure it's how I'm handling variables, but I've rewritten this probably 100 times to get a variation that works. Why do I get this error: "slidePosition is not defined" line: "delay = setTimeout('nextSlide(slidePosition)', 12000); } When I run

Re: assigning javascript variable to coldfusion.Please assist

2011-06-12 Thread Scott Brady
ColdFusion doesn't work that way. By the time the browser gets to the point of running any JavaScript, all of the ColdFusion processing for the page has been done. There is some things you could use to accomplish what it looks like what you're trying to do. First, it looks like you

assigning javascript variable to coldfusion.Please assist

2011-06-11 Thread Gunjan Upadhayay
I am trying to assign javascript variable into cold fusion .But it's not working as expected.Please assist userDomain_ID: #userDomain_ID# function loaddefimages(Id,domain) { document.getElementById(Id).src="<a rel="nofollow" href=&qu

Re: Javascript not working inside of cflayoutarea

2011-04-13 Thread Steve Sequenzia
Got it now. Thanks guys for all of the help. I really appreciate it. -Steve >1) in your main page change this: > $(document).ready(function() { > $("#accordion").accordion(); > }); > >to this: > doAccordion = function() { $("#accordion").accordion(); }); > >2) make html code in your t

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Azadi Saryev
1) in your main page change this: $(document).ready(function() { $("#accordion").accordion(); }); to this: doAccordion = function() { $("#accordion").accordion(); }); 2) make html code in your test.cfm standards-compliant (add doctype, html, head, body, etc tags) and then add this

RE: Javascript not working inside of cflayoutarea

2011-04-12 Thread Andrew Scott
Sent: Wednesday, 13 April 2011 1:09 PM > To: cf-talk > Subject: Re: Javascript not working inside of cflayoutarea > > > Thanks guys. Any idea how to make this jquery work in cflayout? > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Steve Sequenzia
Thanks guys. Any idea how to make this jquery work in cflayout? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> MAMBA - Martial Arts Management & Business Automation http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"; rel

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Azadi Saryev
Steve is only for cf's built-in scripts - you do not use it to load anything else. and you only need to use it if you do not have access to default cf's scripts folder or if you have moved the default cf scripts to another folder. to load jquery or any other js scripts, you just use your reg

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
add on, it is invaluable when it comes to development like this. Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Steve Sequenzia [mailto:c...@thinksys.com] > Sent: Tuesday, 12 April 2011 12:31 AM > To: cf-talk > Subject: Re: Javascr

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
Andrew, I understand what you are saying. I would rather import the files. I just can't seem to get the syntax right. I am trying this - When I do that all the other ajax stuff on the page does not load. Do I need to redirect all the files? Thanks again. -Steve >From my experience it is al

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
-- > From: Steve Sequenzia [mailto:c...@thinksys.com] > Sent: Monday, 11 April 2011 11:16 PM > To: cf-talk > Subject: Re: Javascript not working inside of cflayoutarea > > > Andrew, > > Thanks for the response. > > I fixed the functions to this format - funcName = fun

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
. -Steve >How is you JavaScript written? > >Is it like this > >Function funcName() { >} > >Or is it written like >funcName = function() {}; > > >This is important, and as per the nodes in the documentation there are >issues with JS not working, if you

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
How is you JavaScript written? Is it like this Function funcName() { } Or is it written like funcName = function() {}; This is important, and as per the nodes in the documentation there are issues with JS not working, if you are not following the latter method. If however you are doing this

Javascript not working inside of cflayoutarea

2011-04-10 Thread Steve Sequenzia
I have a index page that has a cflayout and a cflayoutarea with a source to another cfm page. The cfm page that the cflayoutarea uses as the source has a jquery menu in it. When it loads all of the javascript that powers the jquery menu is not loading. I made sure that the javascript source

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: coldfusion array to javascript via ajax

2011-03-11 Thread Richard White
i used eval() in javascript and now works fine! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf

coldfusion array to javascript via ajax

2011-03-11 Thread Richard White
hi i am thinking the solution to this is staring me in the face but cannot seem to work it out! I am making a call to the server via ext.ajax.request and i want the server to pass back an array for javascript to use. I am currently passing the array back using SerializeJSON(theArray

Re: cfdocument and javascript

2011-03-06 Thread Jochem van Dieten
On Sun, Mar 6, 2011 at 5:49 PM, fun and learning wrote: > I am using cfdocument with format = "pdf". I am displaying some dynamic data. > I need to have an expand/collapse functionality within the pdf. Is it > possible to implement the same using javascript in cfdocument?

cfdocument and javascript

2011-03-06 Thread fun and learning
Hi All, I am using cfdocument with format = "pdf". I am displaying some dynamic data. I need to have an expand/collapse functionality within the pdf. Is it possible to implement the same using javascript in cfdocumen

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
Also as you are using custom tags you can block the content with thistag.generatedcontent so i would check your code for all these possibilities Russ On Fri, Dec 31, 2010 at 6:49 PM, Michael Grant wrote: > > How your cf is set up does little to effect how the javascript will > communi

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

custom tag and javascript question

2010-12-31 Thread Eric Roberts
s form field (itself a dropdown) is in a different form that is physically located in a different file (which is the parent page that is calling the file that the above dropdown live on). In the rendered html and javascript, the property section comes before the form that has the number of infant

RE: Javascript in fckEditor

2010-11-26 Thread andy matthews
By default FCKEditor renders your code. It's handy but might not be what you want. -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Friday, November 26, 2010 9:31 AM To: cf-talk Subject: Javascript in fckEditor Hello all. I am added content to my dat

Javascript in fckEditor

2010-11-26 Thread Monique Boea
Hello all. I am added content to my database via fckEditor and everytime I add a page with javascript on it, the editor acts up when I view try to edit it. The text field disappears and the content is actually displayed on the page. Any suggestions? Thanks and hope everyone enjoyed your

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Michael Grant
...until you need to hire five new developers in any place that isn't California. :( On Fri, Nov 19, 2010 at 11:04 AM, Gerald Guido wrote: > > >> I simply added this to my custom tag and it does just what its supposed > to! > > Yep. Reason 32,657 why CF Roxorz. > > G! > > On Fri, Nov 19, 2010 a

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Gerald Guido
>> I simply added this to my custom tag and it does just what its supposed to! Yep. Reason 32,657 why CF Roxorz. G! On Fri, Nov 19, 2010 at 10:24 AM, Joel Black wrote: > > Gerald, was the key. I didnt even have to savecontent > or anything else. I simply added this to my custom tag and it

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Michael Grant
Slightly OT, but I suspect this indicates that your app would benefit from a separation of display logic and business logic. On Fri, Nov 19, 2010 at 10:24 AM, Joel Black wrote: > > Gerald, was the key. I didnt even have to savecontent > or anything else. I simply added this to my custom tag

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black
Gerald, was the key. I didnt even have to savecontent or anything else. I simply added this to my custom tag and it does just what its supposed to! Never even knew this tag existed, thanks a million! ~| Order the Adobe Col

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black
>Your title - >#Yourvaraible# > > >This will put #pageTitle# in the head of the document. > > > >On Thu, Nov 18, 2010 at 4:05 PM, Joel Black wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

RE: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Brook Davies
1:05 PM To: cf-talk Subject: Re: Variable before query, rereplace or javascript to change title Wrap the custom tag in a cfsavecontent tag at the top of the page: I tried to do this, but the query.title doesnt read the query within the save content. I also tried to set a variable within the cust

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Gerald Guido
Your title - #Yourvaraible# This will put #pageTitle# in the head of the document. On Thu, Nov 18, 2010 at 4:05 PM, Joel Black wrote: > > Wrap the custom tag in a cfsavecontent tag at the top of the page: > > > I tried to do this, but the query.title doesnt read the query within the > sav

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
Wrap the custom tag in a cfsavecontent tag at the top of the page: I tried to do this, but the query.title doesnt read the query within the save content. I also tried to set a variable within the custom tag and pull that out...but no success there either. What if i set an application variabl

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
>Wrap the custom tag in a cfsavecontent tag at the top of the page: > I gave this a try, but when I wrap it in the savecontent, its not reading the query when I put it in the title ~| Order the Adobe Coldfusion Anthology now! h

RE: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Brook Davies
query, rereplace or javascript to change title I created a custom tag I can reuse, which runs a news manager. I would like to optimize it for search engines, but here is my issue: 1. The query and output are in the custom tag, which goes in the main content of the page 2. I want the news title

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Claude Schnéegans
>>2. I want the news title to be in the page title, but I cant put an output >>before a query that I know of No, but you can run the query before any HTML, ie : SELECT title, ... #myQuery.title# ~| Order the Adobe

Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
output before a query that I know of 3. Not sure if an ReReplace will work in this situation either 4. I know I can do it with javascript, but javascript is client side and will not change the title in time for a search engine to catch it will it? Any input would be greatly appreciated. Example

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Alright, thanks! -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, October 28, 2010 3:47 PM To: cf-talk Subject: Re: Question about using javascript in .cfm files... Well the thing is that the js variables need to be part of the DOM. You can your cf vars

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Michael Grant
t; Gives me only one place to change variables. > > Any drawbacks to that approach? > > > > -Original Message- > From: Michael Grant [mailto:mgr...@modus.bz] > Sent: Thursday, October 28, 2010 2:30 PM > To: cf-talk > Subject: Re: Question about using javascript in

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
? -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, October 28, 2010 2:30 PM To: cf-talk Subject: Re: Question about using javascript in .cfm files... No, more like this var jsVar = '#

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
using javascript in .cfm files... No, more like this var jsVar = '#jsVar#'; On Thu, Oct 28, 2010 at 2:19 PM, Rick Faircloth wrote: > > Yes, I definitely like the idea. > I didn't like having to mix cf with the js. > > So, is this as simple as: > > &g

  1   2   3   4   5   6   7   8   9   10   >