Answers for "jquery value style"

CSS
7

jquery set style property

$("selector").css("property", "value");

// Example:
$("div").css("background-color", "red");
Posted by: Guest on October-01-2020
0

jquery val style

if (data.status == 'Waved') {
  $("#wave" + data.id).val("Unwave").css('width', '50px');

} else if (data.status == 'Unwaved') {
  $("#wave" + data.id).val("Wave").css('width', '60px');
}
Posted by: Guest on February-18-2021

Browse Popular Code Answers by Language