LCKB
[JS]Code PHP - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Programmers Gateway (https://lckb.dev/forum/forumdisplay.php?fid=196)
+---- Forum: Coders Talk (https://lckb.dev/forum/forumdisplay.php?fid=192)
+---- Thread: [JS]Code PHP (/showthread.php?tid=772)



- Darkface - 04-22-2012


I need help with this code.

 

What has to do this code is to replace [uSER_ID] of the code iframe,

for the ID code u enter in the box, but does not work, i think i have something misconfigured.

 

 

someone can help me.

 

 

Your account id:

 

Sorry for my bad english.




- someone - 04-22-2012


The code is JavaScript Not PHP.

 

The code works I think you forgot to change:

Into this:

[code]




- Darkface - 04-22-2012


English:

 

umm not work..

 

look:

 

To open with u browser, and look sourcer code, It does not replace the [uSER_ID]

 

 

 

Spanish:

 

no funciona, si abre el script con el navegador chrome e introduce cualquier id en el cuadro, no remplazar el [uSER_ID]




- someone - 04-22-2012


Try and see for yourself, it changes:

...
document.getElementById(uidForm).style.display = none;
alert(widgetHtml);
}
...

The changes are in the client memory not in the file that it reads, the file that it reads will remain unchanged, this is javascript + html, the files that the browser(client) receives. are html tags, and javascript.




- Darkface - 04-22-2012


oks, now work perfect Wink

 

trank u for u help someone