[jQuery] Re: Select onchange event get a value from selects table row

2009-10-23 Thread jchambers
Give this a try... $(document).ready(function(){ $('select').change(function(){ var key = $(this).parent().parent().find('input').val(); var v = $(this).val(); $('#MSG').html( key +'
'+ v ); }); }); chooseonetwo Good luck, Jon

[jQuery] Re: Update element when changes

2009-10-23 Thread jchambers
This will work. $("input[type='text']:order").keyup( function() { var v = $(this).val().replace(/\D/g,''); // removes non numbers $('#total_buyed').val( v * 2.75 ); }); Good luck, Jon

[jQuery] Drag 'n Drop plus hover on drag?

2009-10-22 Thread jchambers
I have a simple drag and drop completed and works well. Next I would like be able to trigger a hover event when dragging over items I have already dropped into the drop area. So far I can only get the hover to work onmouseover, not while dragging an item. Here is what I am trying: $('#dropArea'