Javascript doesn't work.

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>

Open in new window

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;
	
}

Open in new window

When I click pn the "More Info test (underlined as a link), nothing happens.

Why?
Richard KortsBusiness Owner / Chief DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MishaProgrammerCommented:
In html your code
show-Mkup_desc()

Open in new window


in javascript your code:
show_Mkup_desc()

Open in new window


Function name must have equal name.!!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard KortsBusiness Owner / Chief DeveloperAuthor Commented:
Of course, I just didn't see it.

Thanks.
0
MishaProgrammerCommented:
Glad to hepl you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.