Javascript – convert type

Convert variable to boolean var booleanValue = Boolean(variableValue); Converting to String var stringValue = String(variableValue); Converting to Number var numberValue = Number(variableValue); Parsing to Number…

Javascript confirm window

Next code can be used to add a confirm window from javascript: var conf = confirm(“Are you sure do you want to delete?”); if (conf…