Tag: JavaScripts (Page 6 of 6)

How to pass PHP Variable To Javascript

Last updated on January 10th, 2023 at 11:08 amIn this tutorial we will learn more about passing values from server side language PHP to client side using Javascript. It is pretty straight forward. We just have 2 files. I am taking an example of form submission here. contact.html and send.php, in that you can see […]

How to preload images using javascript

Last updated on December 27th, 2022 at 11:18 amUsing this script we can preload an image in to the webpage and display it when needed. Once you click the Show Image button the image will display immediately with out any delay as it comes from the cache (preload). If your internet connection is slow then […]

How to create image slideshow using Javascript

Last updated on June 7th, 2022 at 12:55 pmIn this tutorial we will create a simple image slideshow with control using Javascript. First let us take a look at the main function displaynext(shift), this will receive the value of shift(1 or -1, the value we pass every time ) based on the navigational buttons clicked. […]

Newer posts »