[jQuery] Re: prompt before closing dialog

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

[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
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] 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 wit

[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] Re: $.getJSON() Special Chars

2009-06-17 Thread Obi1
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 wrote: > > > > > Hi, > > > I'am having a bit of a problem with special chars in a getJSON > &

[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: compile_check = true; $smarty->debugging = false; $smarty->template_dir = $CFG->smartydirs . "/templates"; $smarty->