Re: Javascript Objects problem
by "Peter Newton" <c-newton(at)ihug.co.nz>
|
Date: |
Fri, 27 Oct 2000 16:34:59 +1300 |
To: |
<hwg-techniques(at)hwg.org> |
References: |
mbay |
|
todo: View
Thread,
Original
|
|
Thanks for the replies,
Yes I do have a URL at:-
http://nzsc.co.nz/testform.html
However as you will see from the link I have
acomplished the task now using the old way I
am more familiar with namely with the DIV tag.
and writing the whole table as a string variable.
I was wanting to avoid this because NN & IE operate
differently. But it seems like Rebecca is quite right and
tables are just not javascript objects.
Thanks very much for your interest I find it always seems
to give me a wake up call and breaks me out of a "Bogged Down" state when I
put out a query with HWG.
Many Thanks
Peter Newton
> 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