Forum > General
how can I get the elements and types of a class
(1/1)
cpalx:
Hello ,
How can I get the elements and types of one class
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---unit Unit1; {$mode ObjFPC}{$H+} interface uses Classes, SysUtils; implementation type Person = Class Name: string; LastName: string; BirthDay: TDate; end; end.
i need to convert in Json
paweld:
https://wiki.lazarus.freepascal.org/Streaming_JSON
Navigation
[0] Message Index