eM^ Posted July 9, 2007 Report Share Posted July 9, 2007 Nezinu kā lai panāk, ka ar onClick eventu izveidojas <div></div> lapas apakšā(vienalga kur..). lūdzu izskaidrojiet tā nedaudz sīkāk, jo javascript man ir kas jauns... Link to comment Share on other sites More sharing options...
Toms Posted July 9, 2007 Report Share Posted July 9, 2007 function boom(){ var div = document.createElement('div'); div.innerHTML = "iekšas"; document.body.appendChild(div); } <body onload="boom()"> Iemetīs lapas apakšā... Link to comment Share on other sites More sharing options...
eM^ Posted July 9, 2007 Author Report Share Posted July 9, 2007 ok paldies sapratu. Link to comment Share on other sites More sharing options...
Recommended Posts