Kamesh Jungi
Kamesh Jungi

Reputation: 6251

Font size button using JavaScript, HTML and PHP

I want to create three buttons on my PHP/HTML page using JavaScript/JQuery by which on pressing respective button I can manage to increase size of text in my button. Also, I want to keep this selection for other content of my website. How can I do that ?

Upvotes: 0

Views: 318

Answers (2)

Sandeep Tawaniya
Sandeep Tawaniya

Reputation: 717

See this example, using jquery demo .

Upvotes: 0

Muthu Kumaran
Muthu Kumaran

Reputation: 17910

Store the font size value in SESSION or COOKIES.

When you move to another page, then get the value and set the font size again.

Upvotes: 1

Related Questions