Javascript and CF flash forms

2010-10-23 Thread Monique Boea
Can javascript be used with CF flash forms? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

SOT: Javascript or CF in drop-down

2005-01-05 Thread Robert Orlini
In the example below, how would I use Javascript or CF informing a user to please make a selection as opposed to clicking SUBMIT on the title View Available Reports? Thanks as always. form method=post action=test.cfm select name=date optionView Available Reports/option /select input type

Re: Javascript or CF in drop-down

2005-01-05 Thread Dave Francis
onchange=this.form.submit(); in the select, and leave the submit button off the page. - Original Message - From: Robert Orlini [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, January 05, 2005 3:58 PM Subject: SOT: Javascript or CF in drop-down In the example

Re: SOT: Javascript or CF in drop-down

2005-01-05 Thread Keith Gaughan
Robert Orlini wrote: In the example below, how would I use Javascript or CF informing a user to please make a selection as opposed to clicking SUBMIT on the title View Available Reports? Thanks as always. form method=post action=test.cfm select name=date optionView Available

Re: SOT: Javascript or CF in drop-down

2005-01-05 Thread Keith Gaughan
Keith Gaughan wrote: Maybe give it a label, and just put the dates in the select box: form method=post action=test.cfm label for=dateView Report For:/labelbr / select name=date id=date !--- Dates go here --- /select input type=image src=images/view.gif / /form The low-tech

Re: Javascript and CF

2004-12-09 Thread Thomas Chiverton
On Wednesday 08 Dec 2004 22:24 pm, Greg Morphis wrote: val = evaluate(test.agentpw[+ rn +]); The structure exists, I can get any value manually by #qry.desc[1]#. What's 'test' ? Some sort of Neuromancer webservice object ? -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44

Re: Javascript and CF

2004-12-09 Thread Greg Morphis
my bad, test should have been qry.. It should have read val = evaluate(qry.agentpw[+ rn +]); Ian Skinner wrote a reply using cfwddx so I'm going to give that a try. I know about the server/client problems with CF and JS. I wish there were simpler ways of making them work together more fluidly.

Re: JavaScript and CF

2004-12-09 Thread Greg Morphis
Ian, thanks for the reply. I'm using script language=Javascript type=text/javascript cfwddx action=cfml2js input=#qry# topLevelVariable=aJSVar /script however I keep getting a JS error : WddxRecordset is Undefined. When I view the source I clearly see the array created, I just keep getting that

Re: JavaScript and CF

2004-12-09 Thread Greg Morphis
Nevermind, I found that I had to include the wddx.js file. Thanks! On Thu, 9 Dec 2004 07:57:43 -0600, Greg Morphis [EMAIL PROTECTED] wrote: Ian, thanks for the reply. I'm using script language=Javascript type=text/javascript cfwddx action=cfml2js input=#qry# topLevelVariable=aJSVar

Re: Javascript and CF

2004-12-09 Thread Keith Gaughan
Greg Morphis wrote: Say I have a query that returns some values rownum, id, and desc 11001 ProductA 21002 ProductB 31003 ProductC 41004 ProductD 51005 ProductE Is it not possible (without opening a new frame) to use Javascript to get a

Javascript and CF

2004-12-08 Thread Greg Morphis
Say I have a query that returns some values rownum, id, and desc 11001 ProductA 21002 ProductB 31003 ProductC 41004 ProductD 51005 ProductE Is it not possible (without opening a new frame) to use Javascript to get a certain row? I was thinking

Re: Javascript and CF

2004-12-08 Thread David Atwood
In your example, you've defined the variable val in javascript only, not in ColdFusion -- hence the error. I'm not exactly sure what you are trying to accomplish .. can you explain it to me again? I'll have another go at it. Dave. Say I have a query that returns some values rownum, id, and

RE: JavaScript and CF

2004-12-08 Thread Ian Skinner
One must always remember that server side processing (CF) and client side processing (JS) are different and never the twain shall meet. Ok, ok, yes there are ways to mix the two, but not the way you are talking about. Once the page and all the data has been sent to the client, using CFML is

Re: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-26 Thread Jason Miller
[mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:15 PM To: CF-Talk Subject: Re: Single Quotes in Field value throwing error outputing in javascript on cf page Well - that was an uncontested 5 suggestions for jsStringFormat() - and it worked wonderfully. How did that little function

Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Jason Miller
Hello list - I have an access database - it already has text in a memo field riddled with ' quotes. Like - Woman's and it's and all sorts of words. Problem is it is creating an issue with my javascript event - which is onMouseOver=tip.show('#Trim(LinkDesc)#') Do I need to do a replace function

Re: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Justin Scott
see: jsStringFormat() -Justin - Original Message - From: Jason Miller [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:13 PM Subject: Single Quotes in Field value throwing error outputing in javascript on cf page Hello list - I have an access database

Re: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Scott Brady
-- Original Message -- From: Jason Miller [EMAIL PROTECTED] Do I need to do a replace function each time? Or do I have to run a filter on all existing fields and re-insert the info with a PreserveSingleQuotes? Have you tried JSStringFormat()?

RE: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Joshua Miller
] * -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:14 PM To: CF-Talk Subject: Single Quotes in Field value throwing error outputing in javascript on cf page Hello

Re: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread charlie griefer
there is a jsStringFormat() function which will escape the 'dangerous' javascript characters :) hth, charlie Jason Miller writes: Hello list - I have an access database - it already has text in a memo field riddled with ' quotes. Like - Woman's and it's and all sorts of words.

RE: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Barney Boisvert
www.audiencecentral.com -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:14 PM To: CF-Talk Subject: Single Quotes in Field value throwing error outputing in javascript on cf page Hello list - I have an access database - it already

Re: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Jason Miller
Well - that was an uncontested 5 suggestions for jsStringFormat() - and it worked wonderfully. How did that little function escape me so long. My toughest decision is now do I go back through old project cleaning up my nutty replace functions I previously dreamed up and replace with

RE: Single Quotes in Field value throwing error outputing in javascript on cf page

2003-03-25 Thread Charlie Griefer
[mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:15 PM To: CF-Talk Subject: Re: Single Quotes in Field value throwing error outputing in javascript on cf page Well - that was an uncontested 5 suggestions for jsStringFormat() - and it worked wonderfully. How did that little function escape

Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Les Mizzell
Have a small form problem I need some assistance with I have a form that needs to submit itself with no user interaction (it's on a processing page that the user never sees that passes variables off to Verisign for a product payment). There are actually 4 forms, but each is contained inside

Re: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Jesse Houwing
script type=text/javascriptdocument.cart.submit()/script -^ insert a ; here script type=text/javascriptdocument.forms[0].submit()/script -^ Quote should not be there, place a ; instead

Re: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Nate
Corm inside CFIF question...(More JavaScript than CF) Have a small form problem I need some assistance with I have a form that needs to submit itself with no user interaction (it's on a processing page that the user never sees that passes variables off to Verisign for a product payment

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Ben Doom
Moonbow Software : -Original Message- : From: Les Mizzell [mailto:lesmizz;bellsouth.net] : Sent: Wednesday, October 30, 2002 3:44 PM : To: CF-Talk : Subject: Self submitting Corm inside CFIF question...(More JavaScript : than CF) : : : Have a small form problem I need some assistance

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Les Mizzell
script type=text/javascriptdocument.forms['cart'].submit();/script Works in I.E. - still not in Netscape 7 Same goes for: script type=text/javascriptdocument.cart.submit();/script Sheesh. Just to be sure it's not me: http://www.beabetterwriter.com/newsletter1.cfm What happens when you

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Les Mizzell
: I do this extensively in a few of my forms and you may just be missing a : semicolon after submit, i.e. document.cart.submit();. Fixed that already. Still refuses to work in Netscape 7. ..searching for another solution Thanks...

Re: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread jon hall
FYI, The language attribute in the script tag was deprecated in HTML 4, in favor of type... -- jon mailto:jonhall;ozline.net Wednesday, October 30, 2002, 4:54:40 PM, you wrote: BD Offhand, I'd try adding 'language=JavaScript' to the script tag. BD I don't know about Netscape, but in Mozilla

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Rob Rohan
2:09 PM To: CF-Talk Subject: RE: Self submitting Corm inside CFIF question...(More JavaScript than CF) script type=text/javascriptdocument.forms['cart'].submit();/script Works in I.E. - still not in Netscape 7 Same goes for: script type=text/javascriptdocument.cart.submit();/script Sheesh

Re: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread jon hall
Mozilla js debugger is showing this error Error: document.forms.cart has no properties Source File: http://www.beabetterwriter.com/newsord_process.cfm?ID=1year Line: 9 I'd try adding html and body tags, and adding an id parameter to your form tag. -- jon mailto:jonhall;ozline.net Wednesday,

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Les Mizzell
: Error: document.forms.cart has no properties : Source File: http://www.beabetterwriter.com/newsord_process.cfm?ID=1year : Line: 9 It's right there - the form is named cart Here's the code. Other variations refusing to work as well... cfif url.ID eq 2year form name=cart

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Rob Rohan
JavaScript than CF) : Error: document.forms.cart has no properties : Source File: http://www.beabetterwriter.com/newsord_process.cfm?ID=1year : Line: 9 It's right there - the form is named cart Here's the code. Other variations refusing to work as well... cfif url.ID eq 2year

RE: Self submitting Corm inside CFIF question...(More JavaScript than CF)

2002-10-30 Thread Les Mizzell
: The reason it is probably not working is : because when you say document. that means in my valid html : document there : is an object called... without an htmlbody etc it is : technically not a : valid html document (should have declarations etc) but with out : the html : the DOM is all jacked.

RE: OT - Javascript and CF

2002-01-14 Thread Craig Dudley
window.setTimeout(Redirect();,1000); Runs a function called Redirect after 1 second (1000ms) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13 January 2002 17:03 To: CF-Talk Subject: Re: OT - Javascript and CF i don't recall the syntax directly but there's

Re: OT - Javascript and CF

2002-01-13 Thread savan . thongvanh
i don't recall the syntax directly but there's a javascript function ca lled setTimeout() that does exactly that. Tangorre, Michael T. [EMAIL PROTECTED] on 01/12/2002 11:35:30 PM Please respond to [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] cc: Subject: OT - Javascript and CF

OT - Javascript and CF

2002-01-12 Thread Tangorre, Michael T.
Hi Everyone, This is a bit off topic, but if anyone is still up I could use some guideance. I have a query that returns a value in minutes. What I need to do is setup a counter that counts down The minutes then sends a user to another page after so long... Any ideas? Michael T. Tangorre

Re: Javascript Vs. CF Form Validation

2001-11-09 Thread Tristram Charnley
:16 PM Subject: Re: Javascript Vs. CF Form Validation I understand where you're coming from - just came out wrong, I suppose. If CFForm doesn't do what you need, you should write you're own JavaScript - but on the flip side, always do server-side validation - even if you can write JS that does

RE: Javascript Vs. CF Form Validation

2001-11-09 Thread Pascal Peters
put a cfoutput around your entire form and use cfloop for query looping! -Original Message- From: Tristram Charnley [mailto:[EMAIL PROTECTED]] Sent: vrijdag 9 november 2001 10:53 To: CF-Talk Subject: Re: Javascript Vs. CF Form Validation Leaving aside the validation issues, I like CF

Re: Javascript Vs. CF Form Validation

2001-11-09 Thread Aaron Rouse
I kind of see that as reinventing the wheel, when there are plenty of JavaScript's out there that can do validation for you. Not saying I have avoided learning JavaScript or that I use CFForm to do it. However with things like qForms from www.pengoworks.com out there, personally I wish I had

Re: Javascript Vs. CF Form Validation

2001-11-09 Thread BILLY CRAVENS
] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, November 09, 2001 7:20 AM Subject: Re: Javascript Vs. CF Form Validation I kind of see that as reinventing the wheel, when there are plenty of JavaScript's out there that can do validation for you. Not saying I have avoided learning JavaScript or that I

Re: Javascript Vs. CF Form Validation

2001-11-09 Thread Aaron Rouse
and paste the code I need, rather than including a big library that has a lot of code I don't need. - Original Message - From: Aaron Rouse [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, November 09, 2001 7:20 AM Subject: Re: Javascript Vs. CF Form Validation I

Javascript and CF

2000-08-07 Thread Ray, James A
I have question about using JS and CF. What I wanted the following to do is build a list of parts in a SELECT command. ALlow the user to select the part they want and then reload the page with the part number select. The calling program is call "EndItemAddEdit.cfm" and of course I want to

Re: JavaScript and CF

2000-07-10 Thread Billy Cravens
Steve DeWitt wrote: Javascript can run "server-side" but not on a CF server. Ever heard of server side javascript that runs on a web server? Of course I have. However, for purposes of keeping the explanation simple, I chose elucidate the difference between server-side Cold Fusion, and

RE: JavaScript and CF

2000-07-09 Thread Dave Watts
script language="javascript" var x = "Superman"; document.write("cfset y = "+x+""); /script This won't actually do anything in CF. If you need to pass a variable from the browser (including from JavaScript), you'll have to send it back in an HTTP request. You can do that with JavaScript

Re: JavaScript and CF

2000-07-08 Thread Daslweb - Greg
cript" var x = "Superman"; document.write("cfset y = "+x+""); /script The above does it the other way around. If anybody knows a better way please explain. - Original Message - From: aslam bajaria [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Frid

JavaScript and CF

2000-07-07 Thread aslam bajaria
Can someone plz let me know the best books and best website tutorials etc for learning JavaScript? Also, which versions are supported by CF and which are not? Appreciate. A.B. __ Do You Yahoo!? Send instant messages get email alerts with Yahoo!

Re: JavaScript and CF

2000-07-07 Thread Billy Cravens
CF doesn't "support" JavaScript: CF runs server-side, JavaScript runs client-side. Your support for JavaScript is dependent upon the end user's browser, not how you generate the content. The best book I've come across is O'reilly's Javascript: The Definitive Guide (Flanagan).

RE: JavaScript and CF

2000-07-07 Thread Steve DeWitt
] Subject: JavaScript and CF Can someone plz let me know the best books and best website tutorials etc for learning JavaScript? Also, which versions are supported by CF and which are not? Appreciate. A.B. __ Do You Yahoo!? Send instant messages get email

Re: JavaScript and CF

2000-07-07 Thread OleBlighty
questions. Good luck. Blighty. - Original Message - From: aslam bajaria [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 07, 2000 10:09 AM Subject: JavaScript and CF Can someone plz let me know the best books and best website tutorials etc for learning JavaScript? Also, which