Re: [jQuery] jQuery + OOP + AJAX

2009-12-31 Thread fran23
> > > First of all, does the click have to be in the last paragraph itself? > > > Or could it be in some parent container of the paragraphs? > > > [...snip...] > > > > fran wrote ... > > it's not possible to use the parent, I need the identified paragraph in > the > > ajax-call > > I guess the que

Re: [jQuery] jQuery + OOP + AJAX

2009-12-30 Thread fran23
Thanks Scott ! Your proposals are an inspiration in doing things better. > > > But even here, there is still something strange. On each click of the > > > div, you're binding another event handler to do the same job. >> >> that's the CENTER OF MY TROUBLE ... >> [...snip...] > Well, first of all

Re: [jQuery] jQuery + OOP + AJAX

2009-12-29 Thread fran23
thanks a lot for your patience and all these useful hints ! :) > There are several things that bother me about this code. The example, > by the way, does not run properly in IE8 (nor, I expect in earlier > versions.) I'm working on a standalone C++ app. The Frontend/UI is the Gecko-Engine tha

[jQuery] jQuery + OOP + AJAX

2009-12-28 Thread fran23
There is a new love named "jQuery" but I still have some problems in understanding issues totally (maybe like in real life ;) Coming from C++ it takes some effort in dealing on the (totally other) javascript OOP. The code below (that represents basics of a quite more complex issue ...) runs fine,