• Post Reply Bookmark Topic Watch Topic
  • New Topic

comfused with label properties  RSS feed

 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
i want to set the text of an particular label in the jsp page.how to idenify a particular label among many and set the properties dynamically.
bye
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean by a "label".
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by label i mean a control which can be set in the design of a JSP page
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about the label HTML tag? if so, you are going to have to give a lot more detail about what is confusing you.
bear
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a jsp page in which i have several label tags(HTML label tag).i want to set the text of the particular label dynamically and sometimes i have to hide it.how to identify the particular label and set text dynamically.
bye
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still don't understand your question. Maybe if you posted some code, and what functionality you want added to it, someone might be able to help.
 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let me put it in the othere way.
how can i set the properties of the tags(like label,table...)in an asp page dynamically.
 
linus santo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to identify the particular label
I am not much sure but i think u can find out the particular lable by document.form.elements[i].Value=='ValueToSet'
(here i is the number of the lable amoung the total number of elements on u'r form)

Bye
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!