Link Details

Link 1034203 thumbnail
User 308189 avatar

By jksnu
Submitted: Sep 17 2013 / 12:26

Although the purpose of id and itemId are same i.e. to get the reference of corresponding Dom element at run time, yet there is a very important difference between them. Id must be unique in a class and if it is repeated, then the screen, that displays the object of this class, will have more than one same id and thus resultant screen will be either distorted or will not behave as per expectation......
  • 1
  • 0
  • 830
  • 115

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)

Voters Against This Link (0)

    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java