My JavaScript function works fine, but I have problems getting different ids from the PHP input box.
window.onload = function() { new JsD
//this is doesn't work echo "";
just remove that + sign.
+