Javascript to capture id values for links clicked
$10-30 USD
Kulipwa wakati wa kujifungua
I have a page that uses Javascript to display two links overlaying the video at the end ... I need to know which of the two links ("HERE" or "THERE") are clicked on, the id value of that link, and pass that information back to the Javascript on the same page. View the source here:
[login to view URL]
and look for "raw":
raw: "Click <u><a style=\"color:#ffffff;\" href=\"#\" id=\"" +j+ "\">HERE<\/a><\/u> to find out ... or <u><a style=\"color:#ffffff;\" href=\"#\" id=\"" +k+ "\">THERE<\/a><\/u>",
I will need to know if id j or id k is clicked and what is the value of the id clicked when it is clicked.
Possible values for j are 1 and 3. Possible values for k are 2 and 4.
Ideally you will replace the following code with an alert that prints the name of the id for the link clicked and the corresponding value.
alert(i + ', ' + j + ', ' +k);
Thanks.
Kitambulisho cha Mradi: #6896386
Kuhusu mradi
Imetuzwa kwa:
It is more simple.... just add an onclick event for the hyperlink and make it as like onclick ="javascript:ClickedElement('i', [login to view URL])" here 'i' ll be passed for first hyperlink and for next hyperlink 'j' will be pas Zaidi
9 wafanyakazi huru wanazabuni wastani wa $22 kwa kazi hii
I can complete this rather quickly for you. I can begin right away and complete the project to your expectation.
hello, i am interested in this project. if you can start chat please. javascript expert here. _.
over 10 years experience in javascript, ajax, jquery, php, mysql, and much more. so basically you want to get value of j and k and it can be 1 ,3 or 2 or 4 for k lets talk more. I can do this via jquery . see my Zaidi
Hi there, I’d like to be considered for your project. I’m a strategic developer with a strong background developing various web related projets based on PHP. Whether you need a troubleshooting or development from scr Zaidi