butiran

js input from textarea

· 1 min read

Input from textarea using keyword form inline value(s) or block values.



Left area is for inline value(s) and block values and right area is for the results.

usage

  • Type VERSION in Param keyword input field, then click Get Param to get the value(s).
  • Type velocity in Block keyword input field, then click Get Block to get the values.

notes

  • All functions, but the last one, are designed first then refined and completed with documentation with the help of AI assistant 1.
  • The last function formatForTextarea(input) is desined via prompt with AI assistant 2.
  • Initial format of input textarea is different, but later modified as discussion result with AI assistant 3.

refs


  1. GPT-4o, “JS Function Documentation”, ChatGPT, 29 May 2025, url https://chatgpt.com/share/6838315b-a1ac-800a-94db-de99177ecd4d [20250529]. ↩︎

  2. GPT-4o, “Format variable for textarea”, ChatGPT, 29 May 2025, url https://chatgpt.com/share/683831f2-982c-800a-9c3f-b2211fd09464 [20250529]. ↩︎

  3. GPT-4o, “TXT File Format Definition”, ChatGPT, 29 May 2025, url https://chatgpt.com/share/6838326b-5ef0-800a-b42c-9d3584c5a4aa [20250529]. ↩︎