+ 3
How use css to java script
How to css to my javascript Like when i display the content from the java for calculation i want to place that in the exact place i want
6 Answers
+ 2
Okay so your javascript code is outputting some calculation and you want to place it somewhere in your dom.. create a div tag and select it in the javascript code using dom manipulation and then inject the calculation value into that div tag using innerText property and then position that div using css
+ 3
Javascript is scripting language so you can use it to get the css style of any element defined in html page and modify its content or values.Using document.getElementById you can acces css selector and setting a new value for that element.
+ 2
You question isn't clear..
+ 2
I want my java result at custom place
+ 2
Thank you