var event = document.createEvent('Event');
event.initEvent('mousedown', true, false);
var button = $('div.bali-grid__call_put button.bali-button_type_green')
button[0].dispatchEvent(event);
var method = document.getElementsByName("radio").value;
var method = document.querySelector("[name='radio']:checked").value;
.m-cart__prod__delete svg{pointer-events:none}
А включено отслеживание вообще аджаксов? Правая кнопка на консоли — Enable XMLHttpRequest logging.
select users.* from users
inner join user_events cities on users.id = cities.user_id
inner join
(select max(e.id) id, user_id from user_events e where event_type='city' group by user_id)
cities_fresh on cities_fresh.id = cities.id
inner join user_data names on users.id = names.id
inner join
(select max(d.id) id, user_id from user_data d where data_name='last_name' group by user_id)
names_fresh on names_fresh.id = names.id
inner join user_data phones on user.id = phones.user_id
where phone like '%7%' and city = 'Moscow' and last_name like '%uti%'
<script>
, то их можно находить в ответе, например регексом, выпиливать оттуда, а взамен предавать в eval(). $route1 = new Zend_Controller_Router_Route_Regex(
’blogs/id(.*)’,array(
‘action’ => 'ololo',
’controller’ => 'lololo',
‘module’ => 'default'),
array(1 => 'id'));
$route2 = new Zend_Controller_Router_Route_Regex(
’blogs/post(.*)’,array(
‘action’ => 'lolo',
’controller’ => 'olol',
‘module’ => 'default'),
array(1 => 'id'));
$route3 = new Zend_Controller_Router_Route_Regex(
’blogs/’,array(
‘action’ => 'lolo',
’controller’ => 'olol',
‘module’ => 'default'),
array());
$this->getRequest->getParam('id')
$q = db_query('SELECT CONCAT(
"{\"postid\" : \"",
posts.postid
"\", \"user\" : {\"username\" : \"",
users.username,
"\", \"userid\" : \"",
users.userid,
"\"}}"
) as res
FROM posts LEFT JOIN users ON posts.userid = users.userid');
var_dump(mysql_fetch_all($q));
array(2) {
[0]=>
array(1) {
["res"]=>
string(85) "{"postid" : "15", "user" : {"username" : "noobishe", "userid" : "7"}}"
}
[1]=>
array(1) {
["res"]=>
string(79) "{"postid" : "19", "user" : {"username" : "pro!", "userid" : "8"}}"
}