JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>
<form id="product_addtocart_form">
<input type="text" name="options[483998]">
<input type="submit" value="submit" />
</form>
JavaScript
jQuery("#product_addtocart_form").validate({
rules: {
"options[483998]": {
required: true,
range: [100, 2540]
}
}
});