testing - Change every time the content of a javascript, in a "while"? -


i need javascripts.
using --> javascript onclick create(element) div viz popup box , use in php page, inside while.
problem when use

<div id="test" class="popup"> 

because everytime of cause make print "test" javascript.

    function openpopup()  {     document.getelementbyid('test').style.display = 'block'; } 

and takes first line make print, , forgets of others. how can use make each line different others?


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -