[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 deecodame...@gmail.com 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?

[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 deecodame...@gmail.com wrote: Hey all... I am doing a conversion of prototype to jquery and am stuck on a script... I can't figure out

[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 deecodame...@gmail.com wrote: Hey all... I am doing a conversion of prototype to jquery and am stuck on a script...

[jQuery] Re: ajax.request equivalent in jquery

2009-06-05 Thread waseem sabjee
heres something cool in your index.php have an empty div div id=target /div now create a different file new.php in this file have the following span id=MessageOneMessage One/span div id=test just testing /div in your index.php have the following jquery $(function() { $.ajax({

[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 waseemsab...@gmail.comwrote: heres something cool in your index.php have an empty div div id=target /div now create a different file new.php in this file have the

[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 waseemsab...@gmail.comwrote: $(#myelement).css({ position:absolute }) thats how you set css in jquery On