We help IT Professionals succeed at work.

How call a href in function Javascript?

eduardo12fox
eduardo12fox asked
on
61 Views
Last Modified: 2017-05-14
Hello guys,

I need run <a href   into function JavaScript

My code:

<script type="text/javascript">
function Detal(date1, date2){

		<a id="various5" href="data/iframe.html?Detal_1=date1&Detal_2=date2">
	
}
</script>

Open in new window


How do that?
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019

Commented:
@eduardo12fox,

Do you still require assistance with this question? If so post back here, if not please can you close the question.

JulianH
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.