{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-08-20T09:13:24-04:00", "answer_date": "2024-08-20 09:13:24", "is_docs_available": null, "is_excel_available": null, "is_pdf_available": null, "count_file_available": 0, "main_page": "student_question_view", "question_id": "8225861", "url": "\/study-help\/questions\/javascript-how-to-transform-to-innerhtml-to-display-this-documentwritenamesubstr0x-8225861", "question_creation_date_js": "2024-08-20T09:13:24-04:00", "question_creation_date": "Aug 20, 2024 09:13 AM", "meta_title": "[Solved] Javascript: How to transform to innerHTML | SolutionInn", "meta_description": "Answer of - Javascript: How to transform to innerHTML to display this document.write(name.substr(0,x)+ ); I want to use innerHTML | SolutionInn", "meta_keywords": "javascript,transform,innerhtml,display,documentwrite,substr,0,x,+,thanks,code,function,myname", "question_title_h1": "Javascript: How to transform to innerHTML to display this document.write(name.substr(0,x)+ ); I want to use innerHTML instead. thanks here the code: javascript function myName(){ var", "question_title": "Javascript: How to transform to innerHTML to display this document.write(name.substr(0,x)+ ); I", "question_title_for_js_snippet": "Javascript How to transform to innerHTML to display this document write(name substr(0,x) ) I want to use innerHTML instead thanks here the code javascript function myName() var name Juliet for (x 1 x", "question_description": "

Javascript: <\/p>

How to transform to innerHTML to display this document.write(name.substr(0,x)+\" \"); I want to use innerHTML instead. thanks<\/strong><\/p>

here the code:<\/strong><\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

<\/p>

javascript<\/title><\/p> <p><\/head><\/p> <p><body><\/p> <p><script><\/p> <p>function myName(){<\/p> <p>var name = \"Juliet\"<\/p> <p>for (x = 1; x <= name.length; x++){<\/p> <p><strong>document.write(name.substr(0,x)+\" \"); \/\/ this line to innerHTML<\/strong><\/p> <p>}<\/p> <p>}<\/p> <p>myName()<\/p> <p><\/script><\/p> <p><\/body><\/p> <p><\/html><\/p>", "transcribed_text": "", "related_book": { "title": null, "isbn": null, "edition": null, "authors": null, "cover_image": null, "uri": null, "see_more_uri": "" }, "free_related_book": { "isbn": "", "uri": "", "name": "", "edition": "" }, "question_posted": "2024-08-20 09:13:24", "see_more_questions_link": "\/study-help\/questions\/computer-science-operating-system-2022-August-09", "step_by_step_answer": "The Answer is in the image, click to view ...", "students_also_viewed": [ { "url": "\/study-help\/understanding-cross-cultural-management\/2-take-a-bigger-cut-in-pay-with-generous-incentive-1947624", "description": "2 Take a bigger cut in pay with generous incentive bonuses. Ask the board and the entire workforce to do the same. Open the books and let the whole company know exactly where they stand. Paula Smith...", "stars": 0 }, { "url": "\/white-woods-manufactures-jewelry-boxes-the-primary-materials-wood-brass-242332", "description": "White Woods manufactures jewelry boxes. The primary materials (wood, brass, and glass) and direct labor are assigned directly to the products. Manufacturing overhead costs are allocated based on...", "stars": 3 }, { "url": "\/study-help\/questions\/rank-the-following-asset-classes-in-descending-order-that-is-9964022", "description": "Rank the following asset classes in descending order (that is most - 1 to 3) of historical volatility. ___ Large company common stocks. ___ U.S. Treasury bills ___ Long term corporate bonds", "stars": 3 }, { "url": "\/study-help\/questions\/ecker-company-reports-1500000-of-net-income-and-declares-210000-8381603", "description": "Ecker Company reports $1,500,000 of net Income and declares $210,000 of cash dividends on its preterred stock for the year. At year-end, the company had 300,000 weighted-average shares of common...", "stars": 3 }, { "url": "\/study-help\/questions\/which-examples-of-headings-lists-and-colons-show-correct-capitalization-4769580", "description": "Which examples of headings, lists, and colons show correct capitalization? Instruction: Choose all options that best answer the question. Answer Choices The CFO released the document \"Taxation...", "stars": 3 }, { "url": "\/study-help\/questions\/haimi-25052022-347-pm-a-small-business-enterprise-makes-dresses-5335001", "description": "haimi, [25\/05\/2022 3:47 PM] A small business enterprise makes dresses and trousers. To make a dress requires 2 hours of cutting and 2 hours of sewing. To make trousers requires 1 hour of cutting and...", "stars": 3 }, { "url": "\/study-help\/questions\/a-training-organisation-purchases-aheavy-volume-copier-for-large-workloadson-868244", "description": "A training organisation purchases aheavy volume copier for large workloadson 1\/7\/2022 for $36,000 [GST exclusive]. It has a useful life of 4 years and a residual value of $4,000 [GST exclusive]....", "stars": 3 }, { "url": "\/study-help\/questions\/the-given-multivariable-function-is-as-follows-f-x-3884335", "description": "The given multivariable function is as follows: f ( x , y ) = ky 2 - 2 y 3 - kx 3 + 2 kxy . A. Given that the function f ( x,y ) in the Assumptions section has a critical point at (0,0), use a second...", "stars": 3 }, { "url": "\/study-help\/questions\/how-often-should-braille-accommodations-be-provided-a-never-not-1083284", "description": "How often should braille accommodations be provided? A. Never, not enough people use it. B. Always, regardless of how many people use it. C. Sometimes if it was requested by someone who needs it. D....", "stars": 3 } ], "next_back_navigation": { "previous": "\/study-help\/questions\/chapter-5-assignment-print-item-forestland-wood-products-manufactures-lumber-8225860", "next": "\/study-help\/questions\/which-measurement-technique-avoids-a-size-bias-when-comparing-segments-8225862" }, "breadcrumbs": [ { "name": "Study help", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers" }, { "name": "Computer Science", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers\/computer-science" }, { "name": "Databases", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/computer-science-databases" }, { "name": "Javascript: How to transform to innerHTML to display this document.write(name.substr(0,x)+ ); I", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/javascript-how-to-transform-to-innerhtml-to-display-this-documentwritenamesubstr0x-8225861" } ], "skill_details": { "skill_id": "656", "skill_name": "Databases", "parent_id": "8" } }