problems with ajax in jquery-1.4.2?

Pimper

New member
i have a problem when i tried to send values via ajax in jquery

my code is the following

$.ajax
(
{
url: "BuscarPorKeyWords.php",
dataType: "html", type: "GET",
contentType: "application/x-www-form-urlencoded",
data: "pagina=1&palabrasClave=" + $('form:first input:text').val() ,
context: contenido,
success:
function(datosExito)
{
$('#contenido').html(datosExito);
},
error:
function(xhr, opcionesAjax, errorMandado)
{
alert("No se pudo cargar la pagina debido a: " + errorMandado);
},
beforeSend:
function(datosExito)
{
//cargar imagen de mandar
alert($.ajax.context);

},
complete: function(xhr)
{
return xhr.status;
}
}
);

im using jquery-1.4.2 and always signs me with an undefined value, and its the current, i tried google so many times and i cant find a solution to how can i change the context to allows me use ajax

expecting for a reply
sorry is not current is context
 
Back
Top