Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Embedding HTML Checkbox and Pass state
Mario
Junior Member

Posts: 3
Registered: 1/30/2003
Member Is Offline
posted on 1/30/2003 at 06:54 PM Reply With Quote
Embedding HTML Checkbox and Pass state


I have dynamically created a menu from a database. I incorporated an input type=checkbox in the TREE_ITEMS variable. It displays in HTML page ok. I enclosed the script inside of form tags and created a submit button. The checkbox states inside the script do not pass in the form. Has anyone incorporated checkboxes in the tree?

code:












Thanks in advance
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/31/2003 at 08:26 AM Reply With Quote

correct code would be:










in your code checkboxes are printed outside the form.
View User's Profile View All Posts By User U2U Member
Mario
Junior Member

Posts: 3
Registered: 1/30/2003
Member Is Offline
posted on 1/31/2003 at 12:32 PM Reply With Quote

This worked Great!! Much thanks. I had several hours trying to figure it out.

Since I am not fluent in Javascript, is there some doucmentation that explains the algorithm of the code? I did not catch that the 'new tree' was the function that put the tree on the page.

Thanks again.
Mario
View User's Profile View All Posts By User U2U Member
Mario
Junior Member

Posts: 3
Registered: 1/30/2003
Member Is Offline
posted on 1/31/2003 at 04:07 PM Reply With Quote

I am also getting a script error when I have the checkbox in there. It is expecting a ; (semicolon). I can't determine where it is looking for one.

thanks,
Mario
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   
Tigra Tree Menu PRO
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004