KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a div which could potentially have a hyperlink with an id of reply. How can I check if that a[id=reply] exists? I thought it might be something like this but it alerts the message even if that hyperlink does not exist. if($('div[chunk_id='+reply_chunk_id+']').children('a[id=reply]')){ alert('test'); }
Tags (comma-separated)
Save Edits
Cancel