I have a report which has id as hyperlink.when i click the
id it should move to next report which displays the
corresponding details.tell me how to get the value of
hyperlink(which id is clicked) dynamically using javascript?
so that i can make condition on my second report?

Answer Posted / hanuman prasad

write some function in Onclick="myfunction(Hyperlink)"
like

<a href="#",onclick="myfunction(click1)">click1</a>

in javascrpt function u can decide which is the hyper lick
uer presently clicked on..



Cheersssssssss

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run javascript in chrome?

483


What is escape() function?

524


What is the use of the ‘this’ keyword?

605


Explain with an example the use of event handlers in javascript.

533


What is client side programming?

468






How can I request data from the server without reloading the page in the browser?

522


Can you explain how inheritance works in javascript?

529


Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

1368


What is the statement to enable strict mode in javascript quiz?

503


How do I open a .js file?

451


How to convert json object to string?

563


Do I need to install javascript?

511


What Is The Disadvantages Using InnerHTML In JavaScript?

520


How many types of functions JavaScript supports?

506


What's the difference methods get and post in html forms?

475