Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2013, 04:38 PM
Registered User
 
Join Date: May 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter6 Building Your Rirst AJAX Page

I have followed the above example and although my page opens up and displays the both times, my Ajax time (with yellow background) does not updates asynchronously. I copied the relevant code from the book in my code and here for reference:

Code:
<script type=”text/javascript”>
$(function(){
$.ajaxSetup ({
cache: false
});
setInterval(function() {
$(‘span’).load(‘GetTime/’);
}, 1000);
});
</script>
Has anyone had the similar problem as I couldn't find the relevant thread on this site. Thank you.
 
Old February 23rd, 2013, 05:02 PM
Wrox Author
 
Join Date: Dec 2011
Posts: 57
Thanks: 1
Thanked 19 Times in 19 Posts
Default

Have you tried the code download for the chapter? Try comparing it to the code you have there and see if there are any differences.
 
Old February 23rd, 2013, 05:34 PM
Registered User
 
Join Date: May 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter6 Building Your Rirst AJAX Page

My apologies, must admit there was a typing error, it works now.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Web 2.0 UIs with JSF, Realtime Updates with JSF & Ajax Push Taught at GIDS Shaguf J2EE 0 March 4th, 2010 07:54 AM
Building Web 2.0 UIs with JSF, Realtime Updates with JSF & Ajax Push Taught at GIDS Shaguf J2EE 0 March 4th, 2010 07:53 AM
Page 164 - Where is "chapter6,mysql"? Kevin Tough BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 July 9th, 2007 03:37 PM
Stock at page 166 DB chapter6 gastoncs PHP How-To 1 November 6th, 2005 08:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.