Сообщение от Arx777
|
yaCounter'.yandex_metrika_id.'.reachGoal('corp_lan ding_order'); return true;
|
бред какой-то ... но если хотите
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js">
</script>
<script>
$(function(){
var sub = document.querySelector("#PageViewForm").getAttribute("onsubmit") + " yaCounter'.yandex_metrika_id.'.reachGoal('corp_landing_order'); return true;"
document.querySelector("#PageViewForm").setAttribute("onsubmit", sub)
alert($("body").html())
});
</script>
</head>
<body>
<form action="" id='PageViewForm' onsubmit="ga('sent');" name="PageViewForm">
<label><input></label>
</form>
</body>
</html>