Search Posts

Category: javascript

get data attribute value On select change

or

 

Using SyntaxHighlighter (introduction)

The first article of “Anything trying anything” is “Using Syntax Highlighter (Introduction)”. SyntaxHighlighter is a Javascript library that displays the source code with the line number, it is a convenient library that displays colors differently for each language. Procedure to introduce What can be done File download Place the file on the server Load SyntaxHighlighter’s library Write the source code What can be done Let’s see how it is displayed first. First display regular HTML […]

click button and select all content of textarea

javascript

 

click button and copy content of textarea to clipboard

javascript  

    html script