×
Inicio Aleatorio

How can I pass a parameter to a setTimeout() callback?

Sección: Programación

Creado: 24-12-18 (Actualizado: 06-02-19)

I have some JavaScript code that looks like:

function statechangedPostQuestion() { //alert("statechangedPostQuestion"); if (xmlhttp.readyState==4) { var topicId = xmlhttp.responseText;

https://stackoverflow.com/questions/1190642/how-can-i-pass-a-parameter-to-a-settimeout-callback#1190656

Siguiente Enlace