Question: Use Javascript to parse a URL address entered into a textbox into its component parts (protocol, port, domain and subdomain, path, and a list of
Use Javascript to parse a URL address entered into a textbox into its component parts (protocol, port, domain and subdomain, path, and a list of parameters both parameter name and values). The URL entered should be displayed as a clickable link (use the ( tag, and href attribute, though you may need to add information if the URL is not already well-formed.) (Use the Javascript to create the table. You will probably want to create helper methods such as writeCell (an individual data item preceded by and followed by ), writeRow (write several cells based on the passed arguments preceded by and followed by )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
