Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

js alert with multiple buttons

var r=confirm("hello world");
if (r==true)
  {
  x="OK";
  }
 else
  {
  x="Cancel!";
  }
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to connect ms access database in html using javascript 
Javascript :: flutter inject javascript in flutter webview 
Javascript :: gradle error react native 
Javascript :: angular indexeddb 
Javascript :: last array 
Javascript :: decode jwt token nodejs 
Javascript :: google script get sheet size 
Javascript :: js export options 
Javascript :: return observable from function angular 
Javascript :: react-router in saga 
Javascript :: add int to string javascirpt 
Javascript :: set a variable in express.js 
Javascript :: load js 
Javascript :: arrow function vs function in javascript 
Javascript :: how to set onmouseover in javascript 
Javascript :: reverse string javascript 
Javascript :: Discord.client on 
Javascript :: mapbox add a leaflet marker with popup 
Javascript :: how to decode jwt token in angular 
Javascript :: jest write test for function 
Javascript :: add style by classname javascript 
Javascript :: how to redirect to another page without writing javascript 
Javascript :: js get location params 
Javascript :: merge two sorted linked lists 
Javascript :: remove string from outside array javascript 
Javascript :: await javascript 
Javascript :: matches method in javascript 
Javascript :: useselector in redux 
Javascript :: js callback hell 
Javascript :: display json data in html table react 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =