Hello to all,

I make a website with some pages to be loaded with Ajax and the URL of these links must be distinguished by JavaScript.

At first I had thought to make connections like this: <a rel="ajax" href="my-page-loaded-by-ajax.html">link</a> but it is unconventional because the value "ajax" does not exist for the rel attribute.

I also thought for the attribute class="ajax" but it's not very clean since this attribute is used to style the page, not JavaScript.

There is also the attribute id but the problem is that its value must be unique for the page.

So I would like your advice whether in your opinion what is the attribute most appropriate for this kind of thing.

Thank you!