[jQuery] autocomplete

2008-07-07 Thread mark.forster
The autocomplete plugin by Jörn is awesome but limited in that i want to get my data for its from a function call instead of a url. let me explain. Allowing data to be pulled from a URL is great but it locks me into the required format. Allowing data from an array is cool but it locks me into a

[jQuery] Re: Adding data via external function

2008-07-07 Thread mark.forster
i had exactly the same requirement My solution was this: adding an option called service like so: $(".TagField input").autocomplete(null, { max: 20, highlight: false, multiple: true, multipleSeparator: ",", scroll

[jQuery] Re: Cant add focus and blur event handlers to input of type file

2008-06-02 Thread mark.forster
OK, this is me being really stupid. The reason i cant trap the event is because the file fields are added dynamically are there fore are not assigned event handlers in the intial loading of the script. Sorted this now ;-) On Jun 2, 11:31 am, "mark.forster" <[EMAIL PROTECTED]&

[jQuery] Cant add focus and blur event handlers to input of type file

2008-06-02 Thread mark.forster
I'm having a real problem hooking onto the events in input field of type file. here's the scenaro. I've made use of the hotkeys plugin for jquery and tweaked it a little so that hotleys and added a kind of proxy that checks for field focus and only delegates the event (callback) if no fields hav