[jQuery] Cannot modify properties of a WrappedNative

2009-05-21 Thread wardenik

uncaught exception: [Exception... Cannot modify properties of a
WrappedNative  nsresult: 0x80570034
(NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)  location: JS frame ::
chrome://global/content/bindings/autocomplete.xml ::
onxblpopuphiding :: line 834  data: no]

Line 0


I get this sometimes from I don't know where...
anybody had this problem before?


[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-20 Thread wardenik

On May 16, 1:33 pm, wardenik radek.anton...@gmail.com wrote:
 Hi,

 I've put the sample code here:http://www.warden.pl/jq/test1/
 Any help appreciated cause I'm out of ideas... :/

 After clicking Reload button, the same ajax.php is loaded, but the
 closeme doesn't work any more.
 Nor the test me which is invoked as you have written earlier.


Anybody?


[jQuery] jqModal rebind after reload

2009-05-18 Thread wardenik

Hi,

I'm using a standard jqModal thing. It works ok until after I reload
the tab with an AJAX call.
Then the .jqModal elements are not bound.
The question is how to re-bind them again?
I've tried
$(#box).jqmAddTrigger(.jqModal);
but it didn't help.

And when I try to re-init the box with:
$(#box).jqm();
after the ajax call, I get an error:
H[this._jqm] is undefined

Any ideas?

thanks!


[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-16 Thread wardenik

Hi,

Actually this doesn't work for me, not even in a very basic example
from jquery modal page.
Anyway, I was not specific enough.
In your scenario it is enough to have  a href=# class=jqmClose
Close me /a
inside of the AJAX loaded page.

The problem I have is that I have a form inside the ajax page, that is
using ajaxForm (jqForm plugin).
And after the form is submitted, the link does not work anymore :(

Any ideas?


[jQuery] Re: Closing jqModal from inside of content loaded with AJAX

2009-05-16 Thread wardenik

Hi,

I've put the sample code here: http://www.warden.pl/jq/test1/
Any help appreciated cause I'm out of ideas... :/

After clicking Reload button, the same ajax.php is loaded, but the
close me doesn't work any more.
Nor the test me which is invoked as you have written earlier.

THanks!


[jQuery] jqmodal bug on jqmHide

2009-05-14 Thread wardenik

If you try to do .jqmHide() on a modal that was not shown then an
error pops up.
Anyone had this problem and solved it maybe?

Thanks


[jQuery] Closing jqModal from inside of content loaded with AJAX

2009-05-14 Thread wardenik

Hi,

I have a standard page loaded with jqmodal box that is loading a form
via ajax.
Now I want to close that modal after submit from the inside of page
that was loaded, depending on the form result.
I've tried
parent.$(.jqmAlert).jqmHide();
and many other versions but I always get h is undefined or some
other errors.
Maybe somebody had this problem and can give me a hint?

Thanks!


[jQuery] JQuery UI BlockUI Plugin bug

2009-04-11 Thread wardenik

In version:
http://www.malsup.com/jquery/block/jquery.blockUI.js?v2.15

When you invoke .block() on the same element multiple times, then you
get multiple layers.
Instead it should if this element is already blocked :-)

great plugin! thanks!