How can I read the HREF Text , suppose the above shown PHP coding => General is label of my HREF i want to display general page once user clicks on it.
I also want to validate it for validation I need to read back the text of the selected HREF item.
how can I do so
I have one sample shown below it returns www.yahoo.com
but I want the text, which is Selected text, how to get that<a onclick="alert(this.getAttribute('href'))" href="www.yahoo.com">selected text</a>