I want to change value of web html element.
for example, web HTML element is like this.
<dd>
<a nocr="" onclick="goOtherTCR(this, 'a=nco_x2v*4.day&r=1&i=1800009E_000000000000');return false;" href="#" class="_btn_time _text">00.00(Mon)Today</a> <--- point1
<ul>
<li class '_i on' data-value='2022-00-00'>
<a onclick="return goOtherCR(this,"a=nco_x2v*4&r=1&i="+urlencode("1800009E_000000DA154F")+"&u="+urlencode(this.href));" href="#">00.00(mon)Today</a>
</li>
<li> class '_i' data-value = '2022-00-01'>
<a onclick="return goOtherCR(this,"a=nco_x2v*4&r=1&i="+urlencode("1800009E_000000DA154F")+"&u="+urlencode(this.href));" href="#">00.01(Tue)</a>
</li>
</ul>
</dd>
<my code> has nothing...
Future<List<MvTime>> getData() async {
try {
final response = await http.get(Uri.parse(url), headers: {
//"Accept": "application/json",
//"Access-Control_Allow_Origin": "*"
"Content-Type": "text/plain",
});
final body = response.body;
final hhtml = parse(body);
<here is the point that i want to write code to change web html element value>
}
)
if i click the date(04.28) in web, point 1's( -> where class value is '_btn_time _text') text value changes to today's date to 04.28 and the code class value which one has same date(data-value) changes to '_i' to '_i on'.
I want to change the date by using flutter.
But I can't find the function to change HTML value by using flutter.(In js, somebody tell me that if i use 'element.classList', i can change the HTML value.)
is there any way to change the value of HTML Element by using flutter?