value in hidden field

message from two can's on 24 Jul 2004
How can I have html in a hidden field.

the html is a table with 4 columns, I have my reasons for needing the html
inside my hiddenfield, so can any one tell me as to how to have it. < and >
are not allowed inside a hidden layer value, is there any way of parasing
the code so it will work.

regards

towcans
 
two can's replied to two can's on 24 Jul 2004
thanks Mike,
Have you tried html in a hidden field before.

regards

twocan's

"Mick White" <mwhite13@BOGUSrochester.rr.com> wrote in message
news:cdujf6$iln$1@forums.macromedia.com...
 
Mick White replied to two can's on 24 Jul 2004
<form >
<input name="h" type="hidden" value="<b>boo</b>">
<script language="JavaScript" type="text/JavaScript">
document.write(document.forms[0].h.value)
</script>
</form>

Mick

two can's wrote:
 
two can's replied to Mick White on 24 Jul 2004
thanks Mike
so as far as your aware there is not difference if you use the < or >
in the value.
value="<b>boo</b>"

regards

twocan's

"Mick White" <mwhite13@BOGUSrochester.rr.com> wrote in message
news:cdun4o$lnc$1@forums.macromedia.com...
 
Mick White replied to two can's on 24 Jul 2004
If you want to write the literal "<b>boo</b>" to a page

document.write("<b>boo</b>")

document.write("<b>boo</b>")

Mick

two can's wrote:
 
Murray *TMM* replied to two can's on 24 Jul 2004
Note. Mike != Mick.
 

Archived message: value in hidden field (Macromedia Dreamweaver)