Is their a way to make the value equal the text content following it... here's what i need <a Target=_parent onClick="window.parent.form.textbox.value='get following text here'; return false" href=dining.html#city>This text becomes the value</a> I have an iframe with links in them that change the value of textboxes in the document containing the iframe. Instead of filling out the different value for each link, I'd like the value to retreive the text that is hyperlinked itself and use that as it's value.