This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script> | |
<script> | |
$(function(){ | |
$('#wrapper').on('click','#onlink',function(event){ | |
alert('on link was clicked'); | |
}); | |
$("#livelink").live('click',function(){ | |
alert('live link was clicked'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @start INT = 1; | |
DECLARE @end INT = 50; | |
WITH #KEYS AS ( | |
SELECT @start AS Number, REPLACE(LEFT(NEWID(), 18), '-', '') AS [KEY] | |
UNION ALL | |
SELECT Number + 1, REPLACE(LEFT(NEWID(), 18), '-', '') AS [KEY] | |
FROM #KEYS | |
WHERE Number < @end | |
) | |
SELECT * FROM #KEYS OPTION (MAXRECURSION 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script> | |
$(function(){ | |
$('#app-opener').bind('click', | |
function(){ | |
var timer = setTimeout(function(){ | |
alert('you not installed the x-myapp!!'); | |
},1000); |
NewerOlder