[jQuery] $.getJSON() Special Chars

2009-06-16 Thread Obi1
Hi, I'am having a bit of a problem with special chars in a getJSON response which is the result from php and smarty the file called by the getJSON is something like this: ?php $callback = $_REQUEST[callback]; {...} Getting data from a wsdl using nusoap. {...} $smarty = new

[jQuery] Re: $.getJSON() Special Chars

2009-06-17 Thread Obi1
@gmail.com wrote: Make sure the page your Javascript is on is also also uses utf-8 content-type (e.g. in meta tags). Same for your PHP script. On Jun 16, 1:45 am, Obi1 gurreiro_fa...@yahoo.com.br wrote: Hi, I'am having a bit of a problem with special chars in a getJSON response

[jQuery] Re: $.getJSON() Special Chars

2009-06-17 Thread Obi1
Ok, solved the problem using htmlentities() in all variables before assingnig them to smarty.

[jQuery] prompt before closing dialog

2009-12-17 Thread Obi1
Hi, i'm having some trouble because i'm using a dialog witch has a form in it where someone can change info about their hotel. this dialog also has 2 buttons one to close and the other to save changes. what i'm trying to accomplish is - when someone made sany change and tries to close de dialog

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
this doesn't seem to work, i mean the prompt appears but only after dialog is closed; also tryed using the beforeclose event but the prompt doesn't even show.

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
it doesn't work for me as i'm using jConfirm not javascript confirm but it will have to do while i don't find a solution. Thanks

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
OK, it's working fine. thank you for the indications.