+ 2

Set css using jquery

Hello all, I make one JavaScript which have context menu which have one item for making table cell's set font size which is given in dropdown selected value..for that i write $(.tdsize).css( "font-size",document.getElementById("ddid").value) then this.render(); on context menu item click and also declare css tdsize{font-size:400px} but every time font size given in 400 px.. Plz suggest.. Other way..i want to set dropdown selected value..

2nd Feb 2018, 5:07 PM
Kanvi Savani
Kanvi Savani - avatar
1 Answer
0
Hi... Getting answer write $(.tdsize)....line after this.render();
3rd Feb 2018, 2:30 PM
Kanvi Savani
Kanvi Savani - avatar