Quote:
kaotik wrote:
Hervet: I see your passing parameters through $.load() which is exactly the one I haven't tested
It depends of the cases
Quote:
I've just been reading about $.live() and it's very usefull for when you have new events through ajax and want to bind actions to them.
Yes I'm also using it, it is present in my code :
jQuery('img.btnremove').live("click", function() {
It's been a disapointment for me when I decided to use jQuery because with Prototype it's automatic, you don't have to bind your events.
But now it's a core function of the last jQuery version (and not aplugin anymore).
Quote:
I like your function "jQuery('img.btnremove')", very handy to provide an alert window "are you sure" then perform an action.
That's why it is used for
Quote:
What do you think of Jquery?
I've been using Prototype for 2 years but decided to leave it for jQuery, much more plugins, much more updates and more handy to use, but Prototype has some interesting functions for arrays in Javascript
Quote:
Are you incorporating more javascript into your modules thanks to it?
Yes sure !
I never understood why xajax was used when you see the ease of use of AJAX in jQuery or in Prototype.
Quote:
I always saw you as a PHP master, now I see you are expanding your realm
Nowadays you don't have the choice, you use Javascript or your die
I've been subjugated by the code of jQuery.
John Resig is surely one of the best developper in the world.
Quote:
@hervet: I would also like to see your index.php to see how you catch ajax
You will soon see it in the next version of Olédrion (september)
If you want a reference to a good reading :
http://www.jsmag.com/and it is not expensive.
Concerning jQuery, if you have a bit of money, I recommend you those two books:
http://www.packtpub.com/learning-jquery-1.3/bookhttp://www.packtpub.com/user-interface-library-for-jquery/bookHere is the part in charge of the Ajax response in the Php script:
But without its context, it will not give you too much things ...
note, this part is important:
error_reporting(0);
@$xoopsLogger->activated = false;