Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: jmcpeak
Forum: BOOK: Beginning JavaScript 5th Edition January 8th, 2016, 03:39 PM
Replies: 20
Views: 2,502
Posted By jmcpeak
Well I'm late to the party, but I'll add my...

Well I'm late to the party, but I'll add my $0.02.



It must be a problem with the epub version. All of the examples have HTML5 doctypes, and there are no remnants of XHTML DTDs in the physical...
Forum: BOOK: Beginning JavaScript 5th Edition January 8th, 2016, 02:40 PM
Replies: 2
Views: 829
Posted By jmcpeak
No, you're not missing anything. The book is both...

No, you're not missing anything. The book is both wrong and extremely poorly worded in that passage.
Forum: BOOK: JavaScript 24-Hour Trainer April 15th, 2015, 04:13 PM
Replies: 8
Views: 1,689
Posted By jmcpeak
Howdy, Coda. The key to the newer example is...

Howdy, Coda.

The key to the newer example is the contents of the getEmployeeInfo() method.

this.getFullName() + ", " + this.position;

The first part of the statement is this.getFullName()....
Forum: BOOK: JavaScript 24-Hour Trainer April 15th, 2015, 12:18 PM
Replies: 8
Views: 1,689
Posted By jmcpeak
Hello, Coda. Lesson 9 discusses the concept...

Hello, Coda.

Lesson 9 discusses the concept on inheritance in JavaScript. Inheritance in JavaScript is achieved by chaining one object's prototype with another object's prototype. So from that...
Forum: BOOK: JavaScript 24-Hour Trainer June 21st, 2013, 11:38 AM
Replies: 1
Views: 1,990
Posted By jmcpeak
Howdy mrubin78, The code you provided uses...

Howdy mrubin78,

The code you provided uses ToUpperCase() instead of toUpperCase(). That should solve the problem for Firefox. As for IE9, make sure the browser is in IE9 standards mode.
Forum: BOOK: JavaScript 24-Hour Trainer June 21st, 2013, 10:01 AM
Replies: 5
Views: 1,831
Posted By jmcpeak
Apologies, mrubin78. My spam filter caught...

Apologies, mrubin78.

My spam filter caught the email alerting me to your reply. It looks like the issue is in the HTML for the frameset pages (main and top):

frameset_main:
<body>
...
Forum: BOOK: JavaScript 24-Hour Trainer October 17th, 2012, 11:17 AM
Replies: 5
Views: 1,831
Posted By jmcpeak
Howdy, mrubin78. I apologize for my delay in...

Howdy, mrubin78.

I apologize for my delay in getting back with you. I'm afraid I cannot help you without seeing your code. Can you please copy and paste the code for each of the files, or upload...
Forum: BOOK: JavaScript 24-Hour Trainer March 22nd, 2012, 11:12 AM
Replies: 8
Views: 1,689
Posted By jmcpeak
Howdy, E01T. Yes, you can put properties on...

Howdy, E01T.

Yes, you can put properties on the prototype, and the numberOfLegs property would be a good candidate for the prototype. But some Person instances might not have 2, so the constructor...
Forum: BOOK: JavaScript 24-Hour Trainer January 16th, 2012, 01:25 PM
Replies: 6
Views: 1,534
Posted By jmcpeak
My apologies, jwg. Time slipped away from me. ...

My apologies, jwg. Time slipped away from me.

The fix is rather easy; just modify the code handling the mousedown event in the mouseHandler() function to look like this:

case "mousedown":
...
Forum: BOOK: Beginning JavaScript 4th Edition November 10th, 2011, 03:33 PM
Replies: 3
Views: 930
Posted By jmcpeak
Howdy, Tom. If you're going to use...

Howdy, Tom.

If you're going to use document.formName syntax, then the form element needs a name attribute:

<form id="form1" name="form1">
Forum: BOOK: Beginning JavaScript 4th Edition August 1st, 2011, 10:52 AM
Replies: 2
Views: 857
Posted By jmcpeak
Howdy again, Ashu2912. The easiest...

Howdy again, Ashu2912.

The easiest answer/solution is to just follow the HTML spec. HTML, CSS, and JavaScript behave more rationally/expectedly when the HTML spec is followed.
Forum: BOOK: Beginning JavaScript 4th Edition July 27th, 2011, 04:32 PM
Replies: 1
Views: 881
Posted By jmcpeak
Howdy, Ashu2912. You're seeing this behavior...

Howdy, Ashu2912.

You're seeing this behavior because of the markup. According to the HTML specification, an HTML document should have only one head element and one body element. Since you have two...
Forum: BOOK: JavaScript 24-Hour Trainer June 21st, 2011, 10:24 AM
Replies: 2
Views: 772
Posted By jmcpeak
Howdy, rwhammond. Functions allow us to...

Howdy, rwhammond.

Functions allow us to group one or more statements/operations together. This is advantageous because:


it ultimately lessens the amount of code we have to write
it makes...
Forum: BOOK: Beginning JavaScript 4th Edition January 24th, 2011, 10:27 AM
Replies: 3
Views: 891
Posted By jmcpeak
And to add to Jim's post, JavaScript isn't a...

And to add to Jim's post, JavaScript isn't a requirement of PHP/MySQL. Many programming concepts will be the same (as with most languages), but the two languages serve different purposes. If you...
Forum: BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 December 6th, 2009, 07:32 PM
Replies: 1
Views: 1,443
Posted By jmcpeak
It depends on what you want to do. I primarily...

It depends on what you want to do. I primarily use XML files for settings and configuration. I use JSON to send information between the browser and server.

As far as support, you'll get more...
Forum: BOOK: Professional Ajax ISBN: 978-0-471-77778-6 October 5th, 2009, 09:41 AM
Replies: 2
Views: 3,695
Posted By jmcpeak
Howdy, folks! I'll check in with Nicholas...

Howdy, folks!

I'll check in with Nicholas and see if he's still supporting the zXml library. If not, I'll update it a bit as time allows in the next few days. In the meantime, you can use an...
Forum: BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 March 11th, 2009, 01:10 PM
Replies: 2
Views: 9,316
Posted By jmcpeak
Howdy, Throp. We used the Json.NET library...

Howdy, Throp.

We used the Json.NET library throughout the book, so if want to follow the code I recommend the version of Json.NET supplied in the code download. The DLL is in the bin folders...
Showing results 1 to 17 of 17

 




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