I was just curious who is using jQuery Impromptu around the web. I’ve used it on several websites including my own. If you would like to list your website here it’s free publicity. Also, If I get a nice list I’ll create a section on the Impromptu docs linking to your company or website in a “Who Uses Impromptu” section. I look forward to hearing from everyone! (Please don’t list any x rated sites as I like to keep a clean workplace friendly website.)
Related posts:


16 Responses
Kfir Gollan
18|Mar|2009Hey Trent,
I’ve made a few modifications to the Impromtu code and I would like to share them with you and hopefully you will implement some, or all of them, to the official impromptu version
http://pastebin.com/m2650182d
And if you are interested I’m currently using impromptu on a flow application for the company that I currently work at.
Best regards,
Kfir
trent
18|Mar|2009Thanks for the changes. Is these changes to the very latest version(they appear to be .. just making sure)? Do you have a list of all the changes just so I can make note of them?? I see a few changes right off but just want to make sure I don’t miss anything. Thanks so much!
Kfir Gollan
18|Mar|2009The changes were made on version 2.3, I believe this is the latest version. The only changes that I’ve made is wrapping all the impromptu related code in one object.
By the way, in future versions it would be nice if variables will have clearer names, for example use opts/options instead of o, msg/message instead of m etc. Another thing that would be nice is publishing a minified version along with the development version. If you need a js minifier I recommend this one
http://www.fmarcia.info/jsmin/test.html
Best regards,
Kfir
trent
18|Mar|2009Thanks! I will go through these and try to get a new version out over the weekend sometime. Also a minified version was something I was considering as well, when the project first started there was very little code and wasn’t an issue, but the code is getting larger and does need to be minified now.
Louis-Guillaume Carrier-Bédard
18|Mar|2009Hi,
You can be proud of jQuery Impromptu, it’s a good plugin.
I am an Oracle APEX developer. I have a demo site and one of my demo uses Impromptu.
http://apex.oracle.com/pls/otn/f?p=987654321:40:0
1) edit an employee from the list
2) update deptno
http://lgcarrier.blogspot.com/2008/12/using-prompt-lov-to-replace-popup-key.html
Have a nice day.
Kfir Gollan
20|Mar|2009I’ve started to work with the states feature and I have a few notes on things that needs to be changed.
1. A “nextState” method should be added
2. A “previousState” method should be added
3. When false is returned from the submit function the removePrompt function should be called. This change should be made to allow this format
submit: function(v) {
return v;
}
instead of
submit: function(v) {
return !v;
}
Best regards,
Kfir
Kfir Gollan
20|Mar|2009One thing that I’ve forgot to mention In the previous post – If an empty object is set for o.buttons than the buttons container should not appear
trent
20|Mar|2009Hey Kfir, thanks for the suggestions. I definitely like the nextState, prevState ideas, I should have thought about that when I first implemented the states
As far as the submit function goes returning true to me indicates successful completion, and to then close the prompt.. I guess in theory it could work either way, but for backwards compatibility’s sake I’d rather leave it the same.
Also for the button’s it’s never crossed my mind that one might pass in {} for the buttons, I will add this to my change list.
Thanks again for the suggestions!
Kfir Gollan
20|Mar|2009Hey Trent,
first I would like to explain why the submit function returned value should be as I’ve mentioned. In most cases there is one button that returns true or two buttons that one of them returns true and the other returns false. When we have one button, in most cases, we’ll want the prompt to close after the button was clicked. The same goes for the button that returns false when there are two buttons. This means that in most cases if v is false we’ll want to close the prompt.
Anthoer thing that should be implemented is a way to change the content of a state. This is essential when using ajax with impromptu. If you’ll look at the ajax example that you’ve posted you’ll see something that breaks the “flow” – the prompt will disappear and than reapper. Currently I’ve solved this problem at my end by editing the value of jqimessage and jqibuttons with something like
$(“#jqi_state_stateName .jqimessage”).html(“new content”);
Best regards,
Kfir
trent
20|Mar|2009Another excellent idea to have a function to change the content of a state, could go something like:
$.prompt.changeStateContent(‘statename’,'content’);
For the returning the value in the submit I think I see what you’re getting at now, I don’t think I saw your point earlier. However, in my mind the value of the button clicked should have nothing to do with whether or not to close the prompt.
The value of the button clicked should simply tell you how to process/validate the content of the prompt. what you return should simply indicate whether it was processed successfully. Am I still missing your point?
BTW I like what you’ve done with the changes so far. I think it will help a ton and make it much more friendly. I hope this weekend I can add these functions and update the docs!
Kfir Gollan
20|Mar|2009Well then what about closing the prompt if no value is returned or if true is returned?
BTW dont forget that a method for changing the buttons is also required
trent
20|Mar|2009While I’m working on Impromptu this weekend I’ll try to change it to close unless false is passed. I’m not sure I’m aware of the requirements you speak of. If you need different buttons you should create a different state??
Ben K
22|Mar|2009none of my sites have public access, but i’m using impromptu on multiple web applications for latrobe university melbourne.
I use it to ajax edit tables and other nifty things.
very happy with it, thanks heaps!
scristian
23|Mar|2009online game erepublik.com is using
Mike Benner
16|Apr|2009I am using it on my internal sites. It is great.
Sercan Virlan
15|Jun|2009im using with a little development