Yii Framework Forum: jquery post - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

jquery post

#1 User is offline   delete10 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 09-May 12

Posted 09 May 2012 - 02:04 AM

<
?php
    $url=Yii::app()->request->baseUrl.'/protected/views/basvuru/_listview2.php';
    $ourscript = "$.post(".$url.",function(veri){
		alert('2');
		$('#popop').html('veri');
}
);";
    Yii::app()->clientScript->registerScript('helloscript',$ourscript,CClientScript::POS_READY);
?>



yii fremeworkde neden post yapamıyorum.. yardımlarınız bekliyorum
0

#2 User is offline   Umut Gundogdu 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 27-November 08
  • Location:Ankara

Posted 21 May 2012 - 03:12 PM

Ilk once assetmanager ile php dosyani asset folduruna publish yapman gerekiyor. Oradan denersen olabilir
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users