Guest User

Untitled

a guest
Feb 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// <reference path="jquery-1.6.4-vsdoc.js" />
  2. /// <reference path="jquery-ui-1.8.11.js" />
  3.  
  4. $(document).ready(function () {
  5.     Meetins.LoadMeetings();
  6. });
  7.  
  8. var Meetins = {};
  9.  
  10. Meetins.LoadMeetings = function () {
  11.  
  12.  
  13.  
  14.     $(".MousOverMeeting").click(function () {
  15.         var meetingid = $(this).attr("id");
  16.         var targetUrl = "Meetings/getMeeting/" + parseInt(meetingid);
  17.  
  18.         $.get(targetUrl, function (response) {
  19.             $("#ajaxResult").html(response);
  20.             $("#ajaxResult").dialog({
  21.                 title: "Mötes information",
  22.                 resizable: true,
  23.                 modal: true,
  24.                 width: 400,
  25.                 position: ['center', 100]
  26.             });
  27.         });
  28.     });
  29. };
Add Comment
Please, Sign In to add comment