Guest User

Untitled

a guest
Jan 16th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <tr>
  2. <td>Prior to work on Site- Submit Telstra Building Works Permit in TCSS</td>
  3. <td>
  4. <fieldset data-role="controlgroup" data-type="horizontal">
  5. <input type="checkbox" name="F06_yes_1" id="F06_yes_1" data-mini="true" class = "f06_1" />
  6. <label for="F06_yes_1">Yes</label>
  7. <input type="checkbox" name="F06_no_1" id="F06_no_1" data-mini="true" class = "f06_1"/>
  8. <label for="F06_no_1">No</label>
  9. <input type="checkbox" name="F06_na_1" id="F06_na_1" data-mini="true" class = "f06_1" />
  10. <label for="F06_na_1">N/A</label>
  11. </fieldset>
  12. </td>
  13. <td><input name="F06-c-1" type="text" /></td>
  14. </tr>
  15.  
  16. $('input.f06_1').on('click', function(evt) {
  17. if ($('.f06_1:checked').length > 1) {
  18. $('input.f06_1').not(this).prop('checked', false).checkboxradio("refresh");
  19. }
  20.  
  21. });
  22.  
  23. table_asset.append(
  24. '<tr>
  25. <td><input name="asset_description_'+ (len+1)+'" type="text" value="' + key + '" /></td>
  26. <td><input name="asset_cost_'+ (len+1)+'" type="text" value="' + formatter.format(data[item][key]) + '" onkeydown="return false"/></td>
  27. <td>
  28. <fieldset data-role="controlgroup" data-type="horizontal">
  29. <input type="checkbox" name="asset_allocation_capex_'+ (len+1)+'" id="asset_allocation_capex_'+ (len+1)+'" data-mini="true" ' + capex_checked_var + ' class = "capex_opex_'+ (len+1)+'" />
  30. <label for="asset_allocation_capex_'+ (len+1)+'">Capex</label>
  31. <input type="checkbox" name="asset_allocation_opex_'+ (len+1)+'" id="asset_allocation_opex_'+ (len+1)+'" data-mini="true" ' + opex_checked_var + ' class = "capex_opex_'+ (len+1)+'" />
  32. <label for="asset_allocation_opex_'+ (len+1)+'">Opex</label>
  33. </fieldset>
  34. </td>
  35. <td><input name="asset_number_'+ (len+1)+'" type="text" value=" ' + asset_number_var + ' "/></td>
  36. <td><select name="asset_desc_' + (len+1)+'" id="test" data-mini="true" ' + asset_type + '</select> </td>
  37. <td style="display:none;" > <input name="type_'+ (len+1)+'" type="text" value="design"/></td>
  38. </tr>'
  39. );
  40.  
  41. );
Add Comment
Please, Sign In to add comment