Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js alert with multiple buttons

var r=confirm("hello world");
if (r==true)
  {
  x="OK";
  }
 else
  {
  x="Cancel!";
  }
 
PREVIOUS NEXT
Tagged: #js #alert #multiple #buttons
ADD COMMENT
Topic
Name
8+7 =