Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to redirect to another page after clicking ok in alert


onclick="alert('hello world');window.location = 'URL'"
Comment

PREVIOUS NEXT
Code Example
Javascript :: event property value in angular 
Javascript :: C# Convert Json File to DataTable 
Javascript :: props navigation in class component 
Javascript :: react native api call 
Javascript :: clearinterval javascript 
Javascript :: sort array of numbers 
Javascript :: headers with fetch 
Javascript :: jsonb_set 
Javascript :: Sign in with Apple JS 
Javascript :: javascript array methods 
Javascript :: trigger a button click with javascript on the enter key in a text box 
Javascript :: jquery copy to clipboard 
Javascript :: python minify json 
Javascript :: last element of array 
Javascript :: javascript check if length is greater than 0 
Javascript :: angular start command 
Javascript :: greater than x but less than y javascript 
Javascript :: array to map js 
Javascript :: jquery slick 
Javascript :: replace char at index of string 
Javascript :: what is a for loop in javascript 
Javascript :: javascript create object empty 
Javascript :: age validation jquery 
Javascript :: updating an array of object in mongoose 
Javascript :: use jquery in project using NPM 
Javascript :: javascript get object in object 
Javascript :: module.exports in js 
Javascript :: filter js object array based on multiple parameters 
Javascript :: update object in array state react 
Javascript :: convert timestamp to date js 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =