What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-30 04:26:09
JavaScript and HTML DOM Reference
// This is a DOM interface with JAVASCRIPT by using JSON data // Creating Table with DOM objects var myData = [{user: "James", address: "123 Keele St. Toronto, ON.", email:"[email protected]"}, {user: "... Add solution -
Javascript 2021-10-14 14:00:05
js remove dollar sign from string
A common problem with HTML input forms is that users tend to include dollars signs when inputting currency numbers. These dollars signs can be easily removed through JavaScript by using the JavaScript replace function and a simple regular expression. This... Add solution -
TypeScript 2021-10-12 06:07:06
capitalize first letter of all word typescript
//Altered, "capitalize all words of a string" (javascript by Grepper on Jul 22 2019) answer to compatible with TypeScript var myString = 'abcd abcd'; capitalizeWords(text){ return text.replace(/(?:^|\s)\S/g,(res)=>{ return res.toUpperCase... Add solution