/ Published in: ASP
http://www.asp.net/ajaxlibrary/CDN.ashx
Expand |
Embed | Plain Text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>jQuery from Microsoft AJAX CDN</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js" type="text/javascript"></script> <script type="text/javascript"> $( domReady ); function domReady() { $('#btn').click( showMessage ); } function showMessage() { $('#message').fadeIn('slow'); } </script> </head> <body> <button id="btn">Show Message</button> <div id="message" style="display:none"> <h1>Hello from jQuery!</h1> </div> </body> </html>
You need to login to post a comment.
