Skip to main content
Inspiring
July 23, 2006
Question

CSS with repeat region Problem

  • July 23, 2006
  • 3 replies
  • 236 views
I have a table that contains 8 columns and 1 row. I have 8 textboxes inside
each column. One of the textboxes must be coloured so I have the following
javascript that runs onLoad:

document.frmMain.txtStatus.style.background = 'blue'

This works great and changes the colour of the textfield as desired UNTIL I
add a Repeat Region behaviour. Then the textfield does not colour and the
following Javascript error is returned:

'document.frmMain.txtStatus.style' is null or not an object.

Why is this and what can I do?


This topic has been closed for replies.

3 replies

Inspiring
July 23, 2006
JED wrote:

> I read your reply and thankyou, but I am not sure I fully understand. Could
> you be a little more specific please.

Please keep everything in a single thread. I have posted a follow-up
answer in the main forum.

--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Inspiring
July 23, 2006
Hi David,

I read your reply and thankyou, but I am not sure I fully understand. Could
you be a little more specific please.


"David Powers" <david@example.com> wrote in message
news:e9vsg2$ljd$2@forums.macromedia.com...
> JED wrote:
>> Why is this and what can I do?
>
> Answered your duplicate post in the main Dreamweaver forum.
>
> --
> David Powers
> Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
> Author, "Foundation PHP 5 for Flash" (friends of ED)
> http://foundationphp.com/


Inspiring
July 23, 2006
JED wrote:
> Why is this and what can I do?

Answered your duplicate post in the main Dreamweaver forum.

--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/