I get a javascript error: 'document.getElementById(...)' is null or not an 
object.

Ron Mast
Truth Hardware
Webmaster
507-444-4693
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Mast
Sent: Thursday, August 09, 2007 2:06 PM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: RE: [DFW CFUG] auto populate cfinput using javascript

Exactly what I'm trying to do but that's not working for me...hmmm...try it 
again.

Ron Mast
Truth Hardware
Webmaster
507-444-4693
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shuck
Sent: Thursday, August 09, 2007 2:05 PM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: Re: [DFW CFUG] auto populate cfinput using javascript

Ron, you treat it just like a typical input.  Give it an ID (example: "Foo") 
and do:

document.getElementById("Foo").value = "your awesome value";

Am I missing something here or is that what you are trying to do?

On 8/9/07, Ron Mast <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

Not binding...triggering a javascript function to populate a <cfinput> text 
box...:)



Ron Mast

Truth Hardware

Webmaster

507-444-4693

________________________________

From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto: [EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of John.ivanoff
Sent: Thursday, August 09, 2007 1:50 PM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: Re: [DFW CFUG] auto populate cfinput using javascript



Like type ahead?

John Ivanoff

On Aug 9, 2007, at 1:22 PM, Ron Mast <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:

Hi All,



Can I automatically populate <cfinput> using javascript? If so how?



I'm using CFMX 7.



Thanks in advance,



Ron Mast

Truth Hardware

Webmaster

507-444-4693



_______________________________________________
Reply to DFWCFUG:
 <mailto:[email protected]>  
[email protected]<mailto:[email protected]>
Subscribe/Unsubscribe:
 <http://lists1.safesecureweb.com/mailman/listinfo/list>  
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
   http://www.mail-archive.com/list%40list.dfwcfug.org/
 <http://www.mail-archive.com/list%40dfwcfug.org/>  
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
 www.instantspot.com<http://www.instantspot.com>/
 www.teksystems.com<http://www.teksystems.com>/

_______________________________________________
Reply to DFWCFUG:
 [email protected]<mailto:[email protected]>
Subscribe/Unsubscribe:
 http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
 www.instantspot.com/<http://www.instantspot.com/>
  www.teksystems.com/<http://www.teksystems.com/>



--
~Dave Shuck
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
http://daveshuck.instantspot.com
_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.instantspot.com/
  www.teksystems.com/

Reply via email to