changing css after the page is rendered to cater RTL or LTR text -


mine single page js website gets text web request in json format. text format (rtl or ltr) known when response received. there way can re render page once response received? ie.., once response recieved either change css files or set html tag dir , styles re applied?

you like

document.getelementbyid('div id here').style.color='red' 

or soemthing like

$("div id here").css("color","red"); 

just example once response recieved, add there changes style of div.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -