Advertisement
Shell_Casing

snippet

Dec 18th, 2018
1,035
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. function checkIfFormIsFullyFilled(e) {
  2. e.preventDefault();
  3. console.log('button clicked');
  4. if (startDate.value !== '' && startTime.value !== '' && endDate.value !== '' && endTime.value !== '' && count.value !== '' && interval.value !== '') {
  5. getValuesAndPlotChart();
  6. } else {
  7. warning.style.display = 'block';
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement