• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2006
  • Last Modified:

cshtml Jquery dialog popup

Please Help
  I am new to JQuery and I am trying to create a dialog popup. I have enclosed my code and some prayers in hope that someone can assist.
popupAlfa.txt
0
vcurtis
Asked:
vcurtis
1 Solution
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
<!DOCTYPE html>
<html>
<head>
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<script>
  $(function() {
  $('#selectDate').click(function(){   
  $( "#timeret" ).dialog({
      height: 140,
      modal: true
    });
  });
});
  </script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  <button id="selectDate">Click Me</button>
  
  <div id="timeret" title="mytitle">
Measures Versions
</div>
		
		
		
	
</body>
</html>

Open in new window

1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now