"David Dorward" <do*****@yahoo.com> wrote in message
news:c7*******************@news.demon.co.uk...
Danny wrote:
1. How can I reference this form that on the top of the page somewhere
else in the form.
That makes no sense at all. What are you trying to achieve? What is the
URL to the real page?
<form name=cookieval>
Where is your action attribute?
Why have you named the form?
<input type=text name=cookieid>
Cookies are usually set without the user having to explicitly enter the
data stored in them into a form. What are you trying to achieve?
3.Also, is there a way to hide the border in a text box, or hide the
cookieid totally and reference it another way - answer to #1.
You might want type="hidden"
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
"David Dorward" <do*****@yahoo.com> wrote in message
news:c7*******************@news.demon.co.uk... Danny wrote:
1. How can I reference this form that on the top of the page somewhere
else in the form.
That makes no sense at all. What are you trying to achieve? What is the
URL to the real page?
<form name=cookieval>
Where is your action attribute?
Why have you named the form?
<input type=text name=cookieid>
Cookies are usually set without the user having to explicitly enter the
data stored in them into a form. What are you trying to achieve?
3.Also, is there a way to hide the border in a text box, or hide the
cookieid totally and reference it another way - answer to #1.
You might want type="hidden"
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Hello
I have a javascript that reads and writes a cookie. Then it sets it to a
text box in a form
it is called within the javascript like this:
document.cookieval.cookieid.value = id;
the form is elsewhere in the page so it can be displayed to the visitor and
the html cod is this:
<form name=cookieval>
<input type=text name=cookieid>
</form>
now I would like to display this form and not have the border or outline
show in the text box (sometimes the value will be blank and I would not like
the users to see an empty box)
or
perhaps I can have this value hidden and reference it some other way like
this:
<SCRIPT LANGUAGE="JavaScript">
document.write(document.cookieval.cookieid.value);
</SCRIPT>
but this does not seem to work.
Do you have any ideas?