Please help me. I have a problem!
e.g.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<body>
<input type="button" id="clickmenow" value="ADD" />
<script type="text/javascript">
$('#clickmenow').click(function() {
window.alert("DO IT");
});
</script>
</body>
</html>
Please tell me why it is not work ?! Also if i did:
<script type="text/javascript">
$(document).ready(function(){
$("clickmenow").click(function(){
window.alert("SHOWTHAT");
});
});
</script>
It doesn't work! Any suggestions!
` tag.
– Himalay Jan 08 '16 at 01:46