[jQuery] Re: neewbe help, Bassistance Validation Plugin

2008-03-10 Thread Patrik Nikkanen
If you only want one balloon, then try something like this code. Only problem is that if the error changes while the user edits the inputs, the balloon won't change. You might be able to solve this with some function that updates the balloon on keyup events, or something similar. $(function()

[jQuery] Re: neewbe help, Bassistance Validation Plugin

2008-03-07 Thread Patrik Nikkanen
I haven't used the validation plugin myself so I can't really say much about how it works internally. Can't you simply use the errorPlacement option to put the error messages in hidden balloons belonging to the respective fields, and then show/hide them using regular onfocus events? -

[jQuery] Re: jQuery AJAX Dynamic File Download

2008-03-06 Thread Patrik Nikkanen
I would set these headers in the excel.php script, and create a link directly to it. It is more or less a straight file download, created dynamically. header(Cache-Control: no-cache); header('Content-Type: application/octet-stream'); header(Content-Disposition: attachment;