Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,850 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,628 people online right now. Registration is fast and FREE... Join Now!




HTML check list VALUE & VBSCRIPT

 
Reply to this topicStart new topic

HTML check list VALUE & VBSCRIPT

vb6_god
2 Aug, 2008 - 11:57 AM
Post #1

New D.I.C Head
*

Joined: 3 Dec, 2007
Posts: 26


My Contributions
Hey there,

I have searched everywhere for this but no luck so far. Is there a way that i can find out if the checkbox is ticked from VBscript
I want to store the list value in a cookie when its selected.

Example:
CODE

<a href ="#"><input type="checkbox" name="i" value="1">Sometext<br></a>
<%
        If i.checked = True then
            Response.Cookies("Cookie") = i.value
         End If
%>


User is offlineProfile CardPM
+Quote Post

pemcconnell
RE: HTML Check List VALUE & VBSCRIPT
21 Aug, 2008 - 07:10 AM
Post #2

D.I.C Regular
Group Icon

Joined: 5 Aug, 2008
Posts: 396



Thanked: 37 times
Dream Kudos: 75
My Contributions
Check if the value has been set on post back. If you aren't posting the page you want to use javascript.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 06:19PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month