Need to avoid the quotes around the onclick action in my html code to to php. is this possible?
Current call
Want it to beCode:<input type="button" value="Steg 1" onclick="show('QA')"/>
My javascriptCode:<input type="button" value="Steg 1" onclick="show(QA)"/>
Possible?Code:function show(id) { var e = document.getElementById(id); if(e.style.display == 'block') e.style.display = 'none'; else e.style.display = 'block'; }



Reply With Quote


Bookmarks