troubleshooting Question

Javascript doesn't work.

Avatar of Richard Korts
Richard KortsFlag for United States of America asked on
JavaScript
3 Comments1 Solution64 ViewsLast Modified:
I have this code:

<div class="row">
			<div class="col-sm-8 col-xs-8 nopadding" style="font-size:17px;">&nbsp;&nbsp;<b>Markup</b>&nbsp;<span style="font-size:12px;"><a href="#" onclick="show-Mkup_desc();">More Info</a></span></div>
			<div class="col-sm-3 col-xs-3 nopadding text-right" style="font-size:16px;"><input type="text" name="markup" style="width:25px;"></div>  
		</div>
And this JavaScript:
function show_Mkup_desc() {
	alert("To increase the trade price by 5%, enter 1.05. If you want to decrease the trade price by 5%, enter .95");
	return true;
	
}
When I click pn the "More Info test (underlined as a link), nothing happens.

Why?
ASKER CERTIFIED SOLUTION
Misha
Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros