By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

questions about a form

P: n/a
Hello all,

1. How can I reference this form that on the top of the page somewhere else
in the form.
<form name=cookieval>
<input type=text name=cookieid>

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.

Thanks in advance


Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/>
Jul 20 '05 #2

P: n/a

"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?
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.