Jump to content
Larry Ullman's Book Forums

WinstonMuijs

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by WinstonMuijs

  1. Yet another repley... It's not only Chrome, but also Safari. ( and the attribute don't have to be placed within in the results textarea, because it's ends with the lastSpace...again it's late )
  2. Ok...It's late! In the sideline of the book i saw the answer...it's chrome! It's support the maxlength attribute. Only chrome ? Thanks anyway
  3. My question is about the source code. On page 116 the maxlenght="100" is placed by the comments textarea in the HTML. If i preview the page in chrome with DW- after setting up the source code and the JSfile - i can't enter more then a 100 characters in the comments textarea. That's not the purpose of the limitedText form, i think. If i put the line - maxlength...- within the results textarea, than it works great. What is wrong with this picture ... Did i something wrong or is it something else? BTW Larry It's a very practical, accessible, not to techical book. Great for a beginner like me.... Book and Forum is an absolute winner...
  4. Ok! Perfect... I'm learning JS from scratch, so i've to build a new network in my mind. It's not about the code, but understanding the stucture, ideas and principles behind it. But i'm beginning to see some light in the dark. Thanks HartleySan
  5. Ok! I have another question looking at your side note: Are numbers, strings and boolean values the primitive data in JS? Thanks
  6. Its all about the reference. Not the actual object, but a reference to that object. JS is through the DOM able to create a reference of an object in HTML. Thanks... you're a great explainer.
  7. If i understand you correctly, then all the questions can be answered with a positive or a true statement? All in the given example... Thanks for your answer...!
  8. To get a clear picture of it all i have a couple of questions about javascript in general. example: var quantity = document.getElementById("quantity") --> document.getElementById is a method to call for a form element object? --> var quantity is a reference of that form element object quantity? var quantity = document.getElementById ("quantity").value --> document.getElementById("quantity") is still a form element object? --> var quantity is still a reference of the form element object quantity? --> var quantity gets the property "value" of the form element object quantity? --> So the value of var quantity is the property value? Thank you all Greetz
  9. Hoi Larry, You were right! The link to js.file wasn't correct. It Works...! Thanks a lot! Winston
  10. I've a question about the code of chapter 4. When i test the calculator in a webbrowser ( for the testing i used 4 browsers), it doesn't perform any calculations... Is it about the script or is it a real working calculator? Am i missing something? Any HTML?, CSS? or JS? The tool doesn't calculate the total of any order, but only reset to the start value. I'm a noob when it comes to JS, so maybe i have missed something. Could someone shed some light on my problem? Thank you very much!
×
×
  • Create New...