you should be able to detect when it gets focus.  stick an alert in your
function to see if it actually gets executed (the problem might be in your
function).

also, what's this meant to be:
<cfset url.nl=0>;
??

that's a mix of CF and JS, and won't work obviously.  You can't set a CF
variable in a Javascript function




                                                                                       
                                      
                    [EMAIL PROTECTED]                                                  
                                
                    ham.gov.uk                     To:     <[EMAIL PROTECTED]>         
                            
                                                   cc:                                 
                                      
                    20/05/2004 11:34               Subject:     [ cf-dev ] OT - 
Javascript                                   
                    Please respond to dev                                              
                                      
                                                                                       
                                      
                                                                                       
                                      




Can you have an onfocus in a textarea? I want to do this but it doesn't
seem to work.

<script language="javascript"><!--- messages in FORM status bar --->
<!--
function field_focus(theField)
      {
            <cfset url.nl=0>;
document.getElementById('theStatus').innerHTML =
theField.title;
      }
//-->
</script>


<textarea  name="Details_of_change"  rows="6"  cols="43"
onfocus="javascript:field_focus(this);" title="Enter any feedback in the
box above">
</textarea><p></p>

Any Ideas?

Regard - Paul





*************************************************************************************************

The information contained within this e-mail (and any attachment) sent by
Birmingham City Council is confidential and may be legally privileged. It
is intended only for the named recipient or entity to whom it is addressed.
If you are not the intended recipient please accept our apologies and
notify the sender immediately, or telephone +(44) 121 303 6666.
Unauthorised access, use, disclosure, storage or copying is not permitted
and may be unlawful. Any e-mail including its content may be monitored and
used by Birmingham City Council for reasons of security and for monitoring
internal compliance with the office policy on staff use. E-mail blocking
software may also be used. Any views or opinions presented are solely those
of the originator and do not necessarily represent those of Birmingham City
Council. We cannot guarantee that this message or any attachment is virus
free or has not been intercepted and amended.

*************************************************************************************************



--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]






-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to