+ 1

Please can you assist me with code for alerting user before saving data

Please can you assist me with code for alerting user before saving data [JavaScript and HTML]

9th Dec 2016, 10:43 AM
Samuel Mwaniki Muthui
Samuel Mwaniki Muthui - avatar
6 Respostas
+ 4
You could use the JS function alert("put here your custom message") called from an event assigned to the clicking of the "save button".
9th Dec 2016, 11:16 AM
Nelson Urbina
Nelson Urbina - avatar
+ 1
Use alert box alert(message)
9th Dec 2016, 11:14 AM
Rishi Anand
Rishi Anand - avatar
+ 1
alert is a JS function kid
9th Dec 2016, 11:23 AM
Rishi Anand
Rishi Anand - avatar
0
So there is no scripts for JavaScript?
9th Dec 2016, 11:19 AM
Samuel Mwaniki Muthui
Samuel Mwaniki Muthui - avatar
0
please show me simple example
9th Dec 2016, 11:25 AM
Samuel Mwaniki Muthui
Samuel Mwaniki Muthui - avatar
0
https://developer.mozilla.org/en-US/docs/Web/API/Window/alert Trust Mozilla Development Network, if you ever require tutorial on web development
9th Dec 2016, 11:27 AM
Rishi Anand
Rishi Anand - avatar