# Href to add increment to variables

**URL:** <https://forum.kirupa.com/t/href-to-add-increment-to-variables/193910>\
**Category:** flash\
**Created:** [July 19, 2006, 6:28am UTC](https://forum.kirupa.com/t/href-to-add-increment-to-variables/193910 "2006-07-19T06:28:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonH](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@RonH](https://forum.kirupa.com/u/RonH)\
**Post date:** [July 19, 2006, 6:28am UTC](https://forum.kirupa.com/t/href-to-add-increment-to-variables/193910/1 "2006-07-19T06:28:42Z")

</div>

I am not sure why, but the thread got deleted that I made yesterday, so when I came back to check it today - It was Gone.

Oh well. What I am trying to do is output text to a dynamic htmlText field, or just a dynamic textfield. But I want the text to be clickable like a link, but instead of linking to something, I just want a variable to be incremented, like…

EX: User click text from dynamic textfield \> result: someVar++;

Maybe it can be done with “\<a href = ‘X’\>” tags, but I don’t know how. I tried:

\<a href = ‘someVar++’\> // Failed…  
\<a href = someVar++\> // Failed…

I am not sure whatelse I can do. Can someone help me? Thanks in advance.
