This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
span, input { | |
margin: 0; | |
padding: 0; | |
} | |
span { | |
display: inline-block; | |
border: 1px solid black; | |
height: 25px; | |
overflow: hidden; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function callCallbackFunction (callback) { | |
callback(); // all this does is call the function that is passed in as a parameter | |
}; | |
callCallbackFunction(function(){ | |
alert('this is inside the callback function'); | |
}); | |
// Here is another way to do basically the same thing |
NewerOlder