Yii Framework Forum: [Risolto]Problemi Con Ajaxsubmitbutton Type Get - Yii Framework Forum

Jump to content

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

[Risolto]Problemi Con Ajaxsubmitbutton Type Get Rate Topic: -----

#1 User is offline   michele 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 221
  • Joined: 02-August 12

Posted 29 November 2012 - 09:56 AM

Salve ragazzi voglio settare la chiamata in modo tale che mi passi le variabile con il metodo GET, ho provato cosi ma la chiamata parte sempre con il POST.

 echo CHtml::ajaxSubmitButton('' , 
                                      CHtml::normalizeUrl(array('spese/File')),array('type'=>'GET','data'=>array('id'=>'js:$("#Anno_excel").val()' , 'file'=>'SE' )),array('id'=>'report_spese'));



:blink: :blink:
0

#2 User is offline   michele 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 221
  • Joined: 02-August 12

Posted 29 November 2012 - 10:08 AM

ragazzi scusate leggendo la documentazione ho visto che il ajaxSubmitButton invia i dati con il Post

http://www.yiiframew...c/api/1.1/CHtml
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