Добрый день,
как выяснить имена параметров, посылаемых через ajaxButton в chrome, нажимаю на кнопку: и в
network
В пункте:
updateAjax?_=1444021631692
headers вижу такую картину:
General:
Remote Address:127.0.0.1:80
Request
URL:http://hotel/hotels/updateAjax?_=1444021631692
Request Method:GET
Status Code:200 OK
Response Headers
view source
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:keep-alive
Content-Length:0
Content-Type:text/html; charset=UTF-8
Date:Mon, 05 Oct 2015 05:07:17 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive:timeout=60
Pragma:no-cache
Server:Apache/2.4.10 (Win32)
Set-Cookie:language=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/
Set-Cookie:language=7d01b8a85e01bb4a84757526e73981df7db57519s%3A2%3A%22ru%22%3B; expires=Tue, 04-Oct-2016 05:07:17 GMT; Max-Age=31536000; path=/
Request Headers
view source
Accept:*/*
Accept-Encoding:gzip, deflate, sdch
Accept-Language:ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Cookie:818310bd53c75d1ecd939824bf9848e0=542f0523419284cde7f433e79efcb7b6d32e7fa5s%3A782%3A%22234a49937c336bd367ed013e07070c15b4fdaf47a%3A4%3A%7Bi%3A0%3Bi%3A2%3Bi%3A1%3Bs%3A8%3A%22%D0%9A%D1%80%D0%BE%D1%82%22%3Bi%3A2%3Bi%3A2592000%3Bi%3A3%3Ba%3A3%3A%7Bs%3A5%3A%22email%22%3Bs%3A14%3A%22krot%40gmail.com%22%3Bs%3A4%3A%22ROLE%22%3BO%3A5%3A%22Roles%22%3A12%3A%7Bs%3A13%3A%22%00%2A%00modelRules%22%3Ba%3A0%3A%7B%7Ds%3A19%3A%22%00CActiveRecord%00_new%22%3Bb%3A0%3Bs%3A26%3A%22%00CActiveRecord%00_attributes%22%3Ba%3A10%3A%7Bs%3A2%3A%22id%22%3Bi%3A5%3Bs%3A4%3A%22name%22%3Bs%3A16%3A%22%D0%9C%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%22%3Bs%3A7%3A%22name_kz%22%3BN%3Bs%3A7%3A%22name_en%22%3Bs%3A7%3A%22manager%22%3Bs%3A10%3A%22name_alias%22%3BN%3Bs%3A10%3A%22order_sort%22%3BN%3Bs%3A8%3A%22sys_date%22%3Bi%3A1%3Bs%3A15%3A%22sys_date_update%22%3Bi%3A1%3Bs%3A8%3A%22sys_user%22%3Bi%3A1%3Bs%3A5%3A%22exist%22%3Bi%3A1%3B%7Ds%3A23%3A%22%00CActiveRecord%00_related%22%3Ba%3A0%3A%7B%7Ds%3A17%3A%22%00CActiveRecord%00_c%22%3BN%3Bs%3A18%3A%22%00CActiveRecord%00_pk%22%3Bi%3A5%3Bs%3A21%3A%22%00CActiveRecord%00_alias%22%3Bs%3A1%3A%22t%22%3Bs%3A15%3A%22%00CModel%00_errors%22%3Ba%3A0%3A%7B%7Ds%3A19%3A%22%00CModel%00_validators%22%3BN%3Bs%3A17%3A%22%00CModel%00_scenario%22%3Bs%3A6%3A%22update%22%3Bs%3A14%3A%22%00CComponent%00_e%22%3BN%3Bs%3A14%3A%22%00CComponent%00_m%22%3BN%3B%7Ds%3A9%3A%22telephone%22%3Bs%3A12%3A%22%2B70000000002%22%3B%7D%7D%22%3B; YII_CSRF_TOKEN=d7b35b169f81828f4b2273fd859fa27f71400d3as%3A40%3A%224f7ba9fb14d02fb2f48c5aa8e5a97527e91841ee%22%3B; PHPSESSID=ngngeac72ml0l0l6l4u5ra0rr5; language=7d01b8a85e01bb4a84757526e73981df7db57519s%3A2%3A%22ru%22%3B
Host:hotel
Referer:http://hotel/
User-Agent:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parameters
view source
view URL encoded
_:1444021631692
Мне необходимо узнать имена
get или
post параметров, передаваемых кнопкой, чтобы в
action зацепиться за эти имена и обработать полученную информацию. Никакого name в вышеуказанном контексте я не нашел, где искать?