Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/User-input-Text/Lambdatalk/user-input-text.lambdatalk
Normal file
17
Task/User-input-Text/Lambdatalk/user-input-text.lambdatalk
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{input
|
||||
{@ type="text"
|
||||
placeholder="Please enter a string and dblclick"
|
||||
ondblclick="alert( 'You wrote « ' +
|
||||
this.value +
|
||||
' » and it is ' +
|
||||
((isNaN(this.value)) ? 'not' : '') +
|
||||
' a number.' )"
|
||||
}}
|
||||
|
||||
Please enter a string and dblclick
|
||||
|
||||
Input: Hello World
|
||||
Output: You wrote « Hello World » and it is not a number.
|
||||
|
||||
Input: 123
|
||||
Output: You wrote « 123 » and it is a number.
|
||||
Loading…
Add table
Add a link
Reference in a new issue