javascript - How to add CSS to the Dynamically generated ID? -


my query . when inspect element need add css id dynamically generated .can overwrite dynamically generated id ? (or) how can add css id generated dynamically . can 1 me out ?

thanks in advance.

try css:

input[id^="jqxwidget"]{        background:red; } 

input[id^="jqxwidget"]{background:red;}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>  <input autocomplete="off" type="textarea" id="jqxwidget09677819" class="jqx-widget jqx-input jqx-rc-all jqx-widget-content" style="width: 115.4px; height: 21px; margin: 4px;">


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -