Results 1 to 10 of 10
Thread: show/hide with dynamic ids
May 5, 2007, 06:09 #1
- Join Date
- Feb 2007
- 0 Post(s)
- 0 Thread(s)
show/hide with dynamic ids
hi i am trying to set up my page so that people can add comments to comments..
see here for an example
if you click on add comments, a form will appear so you post a comment there
i have set up a page similar
if you click on add comments underneath the first message it will show the add comments form, but if you click on add comments underneath the second message if will just show the form underneath the first message again...
this is because i am using the same id to show the form for each message..
this is the message
blah blah blah
this is the link which will show or hide the form
<a id="comments" href="##"> add comment
this is the form
dynamic tree example i got from a book.....
any help would be appreciateddiscover song meanings and more http://www.music-explained.com