multiple HTML elements with the same id

Questionsmultiple HTML elements with the same id
Germano asked 11 years ago

When you draw multiple tables on the same page, and some columns of the two tables have the same name, multiple inputs with the same id and name attributes are generated within the search toolbar; this is not html compliant. I haven't checked but I guess that the same problem affects other parts of the table, like the add/edit dialogs for instance.
How can this problem be solved?
Thank you

1 Answers
Abu Ghufran answered 11 years ago

Hi,

You can use field aliases in SQL (of select_command) for such conflicts (in case they exist).

Your Answer

10 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?