Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to change font size of paragraph from drop down select option using javascript

How to change font size of paragraph from drop down select option using javascript 


Solution 

1. function changefontsize(a) 
   { 
    document. getElementById('para').style. fontSize=a+"px";
   } 

   calling 
   onchange="changefontsize(this.value)"

2. $("paragraph id/class").html(); 
   var dropdown value =$("#dropdownid option:selected").val()



This post first appeared on Asp.netSourceCodes, please read the originial post: here

Share the post

How to change font size of paragraph from drop down select option using javascript

×

Subscribe to Asp.netsourcecodes

Get updates delivered right to your inbox!

Thank you for your subscription

×