daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function onSelect(e) {
  2.     var item = $(e.item);
  3.     itemText = item.find('> .t-link').text();
  4.     urlAction = '<%= Url.Action("Refresh", "Main", new { id = "PLACEHOLDER" } ) %>';
  5.     urlAction = urlAction.replace("PLACEHOLDER",itemText);
  6.     alert(urlAction);
  7.     window.document.location = urlAction;
  8. }
RAW Paste Data
Top