Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSelect(e) {
- var item = $(e.item);
- itemText = item.find('> .t-link').text();
- urlAction = '<%= Url.Action("Refresh", "Main", new { id = "PLACEHOLDER" } ) %>';
- urlAction = urlAction.replace("PLACEHOLDER",itemText);
- alert(urlAction);
- window.document.location = urlAction;
- }
Add Comment
Please, Sign In to add comment