<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/taking-interest-smd5qmcig" -->

---
title: Taking Interest | daily.dev
description: Interest invokers let you open a popover by adding an 'interestfor' attribute to a trigger element, pointing to the popover's id. This creates a temporary,...
canonical: https://daily.dev/posts/taking-interest-smd5qmcig
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Taking Interest | daily.dev
og:description: Interest invokers let you open a popover by adding an 'interestfor' attribute to a trigger element, pointing to the popover's id. This creates a temporary,...
og:url: https://daily.dev/posts/taking-interest-smd5qmcig
og:image: https://api.daily.dev/og/posts/Smd5qMCiG.png
og:image:alt: Taking Interest
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Taking Interest

**[OddBird](https://daily.dev/sources/oddbird)** · 1 min read · 0 upvotes · 0 comments

## Summary

Interest invokers let you open a popover by adding an 'interestfor' attribute to a trigger element, pointing to the popover's id. This creates a temporary, low-commitment state the page reverts from, unlike actions such as clicking a link or submitting a form. Accidentally triggering a popover will likely only annoy or distract a user, while an accidental action like sending a half-written email or an unintended purchase is costly. Because the cost is low, popovers triggered by interest can be made easier to trigger than full actions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.oddbird.net/2026/11/23/taking-interest>

## Questions this post answers

### How do I open a popover using the interestfor attribute in HTML?

Add the 'interestfor' attribute to the trigger element and set its value to the id of the popover you want to open. This is part of the interest invoker concept, which creates a temporary state a user can peek into without fully committing, unlike clicking a link or submitting a form.

_Developers adopting new popover patterns can track platform changes like this on daily.dev._

## Similar posts on daily.dev

- [Link \+ Popover Navigation](https://daily.dev/posts/link-popover-navigation-ojnhasllg) · Adrian Roselli · 0 upvotes · 0 comments
- [Getting Started With The Popover API — Smashing Magazine](https://daily.dev/posts/getting-started-with-the-popover-api-smashing-magazine-vjbltzl0j) · Smashing Magazine · 47 upvotes · 1 comments
- [Popover Context Menus with Anchor Positioning – Frontend Masters Blog](https://daily.dev/posts/popover-context-menus-with-anchor-positioning-frontend-masters-blog-hwayozyfy) · Frontend Masters · 1 upvotes · 0 comments
- [CSS Wrapped 2025](https://daily.dev/posts/css-wrapped-2025-tcohuvuoq) · Una Kravets · 277 upvotes · 7 comments
- [Anchor Popovers without distinct Anchor Names](https://daily.dev/posts/anchor-popovers-without-distinct-anchor-names-a739bvcxe) · RUBYLAND · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#html](https://daily.dev/tags/html)

[View this post on daily.dev](https://daily.dev/posts/taking-interest-smd5qmcig)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Taking Interest","url":"https://daily.dev/posts/taking-interest-smd5qmcig","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/taking-interest-smd5qmcig"},"datePublished":"2026-11-23T21:23:57.665Z","dateModified":"2026-11-23T21:24:17.112Z","description":"Interest invokers let you open a popover by adding an 'interestfor' attribute to a trigger element, pointing to the popover's id. This creates a temporary,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/27d6ee17cddb00de89f2828233437fb0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/27d6ee17cddb00de89f2828233437fb0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"OddBird","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"OddBird","logo":"https://media.daily.dev/image/upload/s--yQtSb8BQ--/f_auto/v1741272311/logos/oddbird","url":"https://daily.dev/sources/oddbird"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/taking-interest-smd5qmcig","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,html","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"OddBird","item":"https://daily.dev/sources/oddbird"},{"@type":"ListItem","position":3,"name":"Taking Interest"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/taking-interest-smd5qmcig#faq","mainEntity":[{"@type":"Question","name":"How do I open a popover using the interestfor attribute in HTML?","acceptedAnswer":{"@type":"Answer","text":"Add the 'interestfor' attribute to the trigger element and set its value to the id of the popover you want to open. This is part of the interest invoker concept, which creates a temporary state a user can peek into without fully committing, unlike clicking a link or submitting a form. Developers adopting new popover patterns can track platform changes like this on daily.dev."}}]}
```

