Re: Javascript Objects problem
by Peggi & Ben Rodgers <woodduck(at)mbay.net>
|
Date: |
Wed, 25 Oct 2000 08:25:16 -0700 |
To: |
"Peter Newton" <c-newton(at)ihug.co.nz>, <hwg-techniques(at)hwg.org> |
In-Reply-To: |
karlnewt |
|
todo: View
Thread,
Original
|
|
Hi Peter,
Do you have the form up somewhere where I can see the whole thing?
Peggi
At 01:21 PM 10/25/00 +1300, Peter Newton wrote:
>Hello HWG Lifesavers,
>
>I always seem to have trouble
>addressing an object in Javascript.
>My current problem is this:-
>
>I am creating a webpage which contains
>a form on the left and a table on the right.
>The table is an example of where some of
>the form content will end up, and provides
>the person with an example of what it will
>look like before sending the form.
>
>I am using the ONBLUR trigger withing the
>form text input tag to call a function something like this:-
>
><input type=text name=title onblur="showheading();">
>
>The table will look something like:-
>
><table name=example width="300px" border=0>
> <tr>
> <td name=heading></td>
> <td name=desc></td>
> </tr>
></table>
>
>What I need the function to do is to assign the value
>of the forms title input field to a td cell named heading
>
>but all efforts to address the td named "heading" fails.
>and I havn't even started on accessing the form yet.
>Javascript for me is greate untill I need to access an object
>then its hours of hit and miss which is a real frustration.
>
>If anyone can see why I am having this problem a
>diagnosis and online cure would be most welcome.
>
>Many Thanks
>Peter Newton
Ben & Peggi Rodgers
Pacific Grove, CA (near Monterey)
woodduck(at)mbay.net or
rodgers(at)tide-pool.com
http://www.tide-pool.com
http://www.mbay.net/~woodduck
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA