Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 can you create an Array in JavaScript?

1013


How to define a named function in JavScript?

974


Are javascript variables global?

1075


Which is better for or foreach in javascript?

949


Where are cookies actually stored on the hard disk?

928


How many data types are there in javascript?

1015


What is the difference between an array and an object?

986


How to get value from a textbox?

1120


Can you put javascript in html?

869


What is external javascript?

1083


How we can get the value of an element using javascript?

981


Is array a data type in javascript?

904


How javascript sort function works?

968


How to create arrays in javascript?

952


Where should I put script tags?

863