Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label class="control-label col-md-3">Utiliza Envase:</label>
- <div class="col-md-1">
- <input type="checkbox" id='showAreaBox' class="producto_Utl.Env">
- </div>
- $('#showAreaBox').change(function() {
- // if the checkbox is checked, invoke the link
- if(this.checked ) {
- $(window.location.replace("/Productos/<%= @producto.id %>/envase"))
- }
- // checkbox is unchecked
- // else {}
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement