Two HTML elements cannot share the same ID. If you want to use the same
description of two elements, use "class", and search with "$('.CLASSNAME')".

Wonder if we could have a sticky for this forum explaining that.


RoadRat wrote:
> 
> 
> Well I really do not know whats wrong in my code. I have two identical
> click functions on the same page, here you have the details:
> 
> Somewhere in the html:
> 
> div id="Showlinks"
> a class="remolink" id='450' href="url?parameters"
> 
> ...later
> 
> a class="taglink" id="450" href="url2?parameters"
> /div
> 

-- 
View this message in context: 
http://www.nabble.com/Extrange-problem-with-.click%28%29-tf2849034.html#a7959958
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to