GitHub Pages URL parameters and input #22002
-
I have textbox input (for URLs) in |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
you mean a textbox with a default text ? check this out https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_text_defaultvalue2 |
Beta Was this translation helpful? Give feedback.
-
No, I don’t mean default value. I learned that I need |
Beta Was this translation helpful? Give feedback.
-
So you want to fill the text input element with some part of the URL? You’ll probably have to work with a bit of Javascript for that. |
Beta Was this translation helpful? Give feedback.
-
Thank you! I got it working. |
Beta Was this translation helpful? Give feedback.
So you want to fill the text input element with some part of the URL? You’ll probably have to work with a bit of Javascript for that.
See: Document.URL - Web APIs | MDN