Skip to content

Click handler not being called from right element #1

@leesjensen

Description

@leesjensen

This works

    <div onclick="handleStarClick(1,${post.id})"> ${post.id} 1 star</div>
    <div onclick="handleStarClick(2,${post.id})"> ${post.id} 2 star</div>
    <div onclick="handleStarClick(3,${post.id})"> ${post.id} 3 star</div>
    <div onclick="handleStarClick(4,${post.id})"> ${post.id} 4 star</div>
    <div onclick="handleStarClick(5,${post.id})"> ${post.id} 5 star</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions