Results 1 to 2 of 2

Thread: Javascript web question

  1. #1
    Join Date
    Apr 2010

    Javascript web question

    Hi. I am new to the forums and new to javascript and do not know where this question would be best to post on the forums. If it belongs elsewhere, please let me know where and I'll repost it.

    My question is: I have an aspx page with about 50 labels (aspxlabels to be precise), and want a way to be able to tell which of them are using red font. Is there a way I can do something like

    for each label in window.labels
    //code in here
    next label

    and thereby go through all the labels on the page? What's the best way to do this without typing in 50 if-thens?

    Thanks for your time.

  2. #2
    Join Date
    Apr 2003
    What does the generated code of the aspxlabel look like?
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center