I just changed the original example to:

$(document).ready(function(){
  $(".articles_link").css('cursor', 'pointer').click(function(){
    $.get("@ajaxTest", {jquerytest: "test"}, function(res){
      $(".middle_content").html(res);
    });
  });
});

Not surprisingly it works too, the only difference is the use of $.get
instead of $.post.

/Henrik

------=_Part_47448_16872573.1223268931608
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">I just changed the original example 
to:<br><br>$(document).ready(function(){<br>&nbsp; 
$(&quot;.articles_link&quot;).css(&#39;cursor&#39;, 
&#39;pointer&#39;).click(function(){<br>&nbsp;&nbsp;&nbsp; 
$.get(&quot;@ajaxTest&quot;, {jquerytest: &quot;test&quot;}, function(res){<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
$(&quot;.middle_content&quot;).html(res);<br>&nbsp;&nbsp;&nbsp; });<br>&nbsp; 
});<br>});<br><br>Not surprisingly it works too, the only difference is the use 
of $.get instead of $.post.<br><br>/Henrik<br></div>

------=_Part_47448_16872573.1223268931608--
-- 
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Reply via email to