[jQuery] Wiring up lots of text boxes

2009-04-02 Thread Adam Patt
I want to set the onChange event for a lot of text boxes on a page and the code I currently have looks like this: $(document).ready( function() { //wire up all changes $(#requirementsgrid :text).change (find_and_total_week); }

[jQuery] Wiring using jQuery vs. a static string in onClick

2009-04-02 Thread Adam Patt
I am setting an onClick for many rows doing this: a href=javascript:copy_value_popup({'position': 'RN', 'location' : 'Location A', 'shift' : '1st Shift (7a-3p)'}, 'loc_41_sht_59_stt_69');copy/a I could set this information as attributes in other parts of the table structure to get what I needed