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
How are DOM utilized in JavaScript?
How do you sort in javascript?
Why jquery is used instead of javascript?
What are the different types of errors in javascript?
Public Static Void Main(String args[]) { System.out.in("Hai.."); } In the above code why string args[] is required.... If we are not giving command line argument..
Can you assign a anonymous function to a variable?
What are different types of inheritence? Which inheritance is followed in javascript.
Is javascript enabled on my computer?
What will happen if an infinite while loop is run in Javascript?
What is the purpose of 'this' operator in JavaScript?
How to test 404 page in QA
20 Functions of Selenium with description and Examples.
What is triple dot in javascript?
What does the instanceof operator do?
What does unshift() function do in Javascript?