daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 52 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top