href and onclick
<p>I have 2 requirements:</p>

<ol>
<li><p>There are some messages and i have to navigate through these
messages on tab out, i.e if i click
tab the control should move from one
message to another and so on, All
the messages should be links.</p>

<p>This can be doing by using href.</p></li>
<li><p>If i click on these messages a function is called which actually sets the focus for the corresponding field. like if i have a name field and if i enter number a error message comes and clicking on this message the control goes to the corresponding field.</p></li>
</ol>

<p>i added a href: javascript (function) in anchor tag</p>

<p>this works properly in IE7, but it doesnt work in IE6 i get a new window opened with true or false value. If i use onclick and remove href it works properly in IE6 but the navigation doesnt happen.</p>

<p>Is there any other alternative where both the navigation and onclick works or something else needs to be added.</p>

<p>Please help me regarding this issue.</p>

<p>Thanks in advance.</p>

<p>Regds
viswa</p>
