[jQuery] Preventing command+A (select all) in FF/Mac

2008-03-06 Thread Rob Barreca
I have a Flash movie inside of a standard HTML page with text. When a user hits command+A to select something in the textfield of the Flash movie, it selects all the text from the HTML part of the page as well. Really annoying. I can detect the command+A with the following code, just can't preven

[jQuery] Passing extra data to AJAX handler functions

2007-11-27 Thread Rob Barreca
I commonly want to pass an ID or some other information I know to an AJAX success handler. > $.post('/ajax/asset/insert', { > folder_tid : lastUploadedFolderTID, > link : linkQueue[id] > }, handleAddLinkComplete, 'json'); In this example, I want to pass an ID to