Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".hours").live("mouseover", function(){ $(this).editable(function(value) {return(value);},
- {
- type : 'text',
- select : 'true', onblur : 'submit',
- callback: function(){
- if($(this).text() == ''){
- $(this).text("0.00"); //Set a blank number field to 0.0
- }
- updateTotals();
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement