![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Greetings, I was wondering if there was a way to make prompt() calls in Safari show a single-line input box instead of the default multi-line prompt that it currently does. |
|
It seems like most other browsers just provide a single-line prompt text box, meaning that the user hitting ENTER is the same as them hitting the "Ok" button. In Safari (where the prompt() calls result in a multi-line input box), hitting ENTER is interpreted as a new line return. |
#3
| |||
| |||
|
|
Greetings, I was wondering if there was a way to make prompt() calls in Safari show a single-line input box instead of the default multi-line prompt that it currently does. |
|
It seems like most other browsers just provide a single-line prompt text box, meaning that the user hitting ENTER is the same as them hitting the "Ok" button. In Safari (where the prompt() calls result in a multi-line input box), hitting ENTER is interpreted as a new line return. |
|
This is just a matter of consistency. Some of my less computer savvy users have been irritated by this and my Googling hasn't turned up a way to make the prompts single line. |
![]() |
| Thread Tools | |
| Display Modes | |
| |