[jQuery] Re: ajax.request equivalent in jquery

2009-06-06 Thread mkmanning
You already set the postBody in your first jQuery conversion: data The docs should provide you with all the explanations you need. On Jun 5, 12:31 pm, deex wrote: > Hey all... > > I am doing a conversion of prototype to jquery and am stuck on a > script... I can't figure out how to define certa

[jQuery] Re: ajax.request equivalent in jquery

2009-06-06 Thread waseem sabjee
To be honest i have not used prototype before. i'm not sure what post body does. On Sat, Jun 6, 2009 at 3:22 AM, Dan Cochran wrote: > Thanks for the responses. I did realize after I posted that I hadn't > converted the css changes yet... > > What about postBody? What is it? > > On Fri, Jun 5, 2

[jQuery] Re: ajax.request equivalent in jquery

2009-06-05 Thread Dan Cochran
Thanks for the responses. I did realize after I posted that I hadn't converted the css changes yet... What about postBody? What is it? On Fri, Jun 5, 2009 at 5:59 PM, waseem sabjee wrote: > $("#myelement").css({ position:"absolute" }) > > thats how you set css in jquery > > > On Fri, Jun 5, 2009

[jQuery] Re: ajax.request equivalent in jquery

2009-06-05 Thread waseem sabjee
$("#myelement").css({ position:"absolute" }) thats how you set css in jquery On Fri, Jun 5, 2009 at 11:55 PM, waseem sabjee wrote: > heres something cool > > > in your index.php have an empty div > > > > > > > now create a different file new.php > > in this file have the following > > Message

[jQuery] Re: ajax.request equivalent in jquery

2009-06-05 Thread waseem sabjee
heres something cool in your index.php have an empty div now create a different file new.php in this file have the following Message One just testing in your index.php have the following jquery $(function() { $.ajax({ url:"new.php", success: function(html) { var messageOne = $(#Messa

[jQuery] Re: ajax.request equivalent in jquery

2009-06-05 Thread waseem sabjee
$.ajax({ url : "data.php", // target URL type: "GET", // get or post success: function(html) { // html or data on success alert(html): } }); On Fri, Jun 5, 2009 at 9:31 PM, deex wrote: > > Hey all... > > I am doing a conversion of prototype to jquery and am stuck on a > script... I can't figur