Hello all,


In my page, clicking on a name brings up another window where you can
edit their information (their address is shown below their name).  The
addressID for each address is also stored in a variable (addressIDList).
Clicking on a button gets the the current information from the database
- the processing is done in an iframe and addressIDList is passed in the
URL.


I would like to have _javascript_ write this new information to the
screen.  I do not want the entire screen to be reloaded though, just
certain information.  The proper text is surounded by (for the city and
state text):
<span id=city#addressid#>...</span>
<span id=state#addressid#>...</span>
...

Everything works like it should except that I cannot get _javascript_ to
update the page because of some syntax errors.  I am trying to use
JS.innertext to write the new information (i.e. for the city):


<cfoutput>
<cfloop list="#url.addrIDList#" index="addressID">
    <script>
        parent['city'+#addressid#].innerText =
#evaluate(city&addressid)#;
        ...
    </script>
</cfloop>
</cfoutput>


What is wrong with this syntax?  What should it be instead?
I appreciate any help...
Thank you -
  Frank
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to