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]> wrote:
>
>  Not binding…triggering a javascript function to populate a <cfinput> text
> box…J
>
>
>
> Ron Mast
>
> Truth Hardware
>
> Webmaster
>
> 507-444-4693
>   ------------------------------
>
> *From:* [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]> 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:
>   <[email protected]>[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/
>  www.teksystems.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/
>
>


-- 
~Dave Shuck
[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