[jQuery] Re: Create Ajax Request & and edit html request

2009-06-02 Thread Andy Matthews
If you're loading in a chunk of HTML, then you can treat that chunk as a jQuery object. For example, if you have the following HTML code that is being pulled back from an AJAX call, and you only want to use the div tag you might do something like this. REMOTE HTML: This is a

[jQuery] Re: Create Ajax Request & and edit html request

2009-06-02 Thread Gustavo Salomé
Select the elements you want before the request, like: var $elements=$('input'); $.ajax({success:function(data){ alert($elements.html()); }}); 2009/6/2 Kevz > > [b]Hay guys![/b], > > I worked with now in jQuery. Property however at present the following > problem: > > [i]I provide a AJAX Request