A
A
alex1nd2021-05-27 22:43:00
JavaScript
alex1nd, 2021-05-27 22:43:00

How to pass ClientID to form?

How to pass client id value,

<input type="hidden" name="ClientID" value="">

Not passed

<script>
  ym(34757170, 'getClientID', function(clientID) {
  document.getElementById('clientID').value = clientID;
});
</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smigles, 2021-05-27
@alex1nd

<input type="hidden" id="clientID" name="ClientID" value="">

document.getElementById('clientID').value = clientID;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question