![]() |
|
[Javascript] Basic Java HW Help ($) - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [Javascript] Basic Java HW Help ($) (/showthread.php?tid=5446255) |
Basic Java HW Help ($) - ᴺᶦᶜᵒ - Oct 27, 2016 ------------------------- * - Two-Ton 21 - Oct 27, 2016 Your variables need fixed where you tried to retrieve the values from your form. JavaScript is case-sensitive. "getElementbyId" needs to be "getElementById". Get rid of the output variable since it's only used once; you can just use the string itself when you set your "innerHTML". HTML5 tags are different than previous versions. You don't include foreward slashes at the ends of img or input tags, anything without the ending tag, like your meta tags, etc. * - ᴺᶦᶜᵒ - Oct 28, 2016 (Oct 27, 2016 10:06 PM)Usul Wrote: Your variables need fixed where you tried to retrieve the values from your form. JavaScript is case-sensitive. "getElementbyId" needs to be "getElementById". With your help, I was able to finish the rest of assignment 5 so thank you. I attempted at assignment 6 again and can't tell if I'm on the right path or not. Care to help? http://pastebin.com/gbSjgXTE |