jquery - Is it wrong to do this in HTML? -


i know id's meant unique, i've got quick question.

can use same id name on different elements? example, have:

input#idname a#idname

...etc? same id, different element long call them element tag in jquery:

$("a#idname") $("input#idname")

etc?

thanks.

id's meant unique , id should exist once on webpage. element use id irrelevant in case.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -