If you want to scroll up and down the div element through the buttons you can use the following code sample. The example contains a div element and two input buttons for up and down scroll. In this example the div element contain an image. You can get an idea from the below image.
The following code sample can be used for to select the all text word in the single click. Continue reading Make full select the text on the single click in text area
The following article shows that how to validate the type of the file that is selected to upload by the user.
In this section I will show you that how we can use the simple regular expression to know whether the specified string contains the special characters or not.