[jQuery] Wait the function end the post and then do this

2009-11-19 Thread Carlos Santos
Tenho uma função que chama outra função function refreshEstado(estado, cidade){ $.post( '../busca_estados.php',{ UF: $mUF }, function(data){ $('#result-estado').html(data);

[jQuery] Re: Elements with similar names

2009-09-26 Thread Carlos Santos
> > try this page for reference on selectorshttp://docs.jquery.com/Selectors > > > Chris > > > On Sep 25, 10:12 pm, Carlos Santos wrote: > > > > I have in one form, many, many text fields with similar names such > > > as: > > > > tx_qt

[jQuery] Elements with similar names

2009-09-25 Thread Carlos Santos
I have in one form, many, many text fields with similar names such as: tx_qtde1 tx_qtde2 tx_qtde3 how i can select all this text fields without using a class, something like: $("tx_qtde * ") where the * is the numbers. Thanks for your time. Carlos Santos

[jQuery] Re: click a button returned by ajax

2009-09-09 Thread Carlos Santos
function live was what I needed. But now another question. it's possible to make a POSTwith AJAX, via a button also created with AJAX, and store the return in a CONTAINER that does not exist in the DOM, but must exist when the POST is done? I.E. /*Action on a button that still exist in the DOM*/

[jQuery] click a button returned by ajax

2009-09-08 Thread Carlos Santos
I have a button that do appear on my page through a post with jquery: $.post( 'more_item.php',{ NumItem: NumeroItem, Str : $("#form-itens").serialize() },