Forum > General

how can I get the elements and types of a class


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



[0] Message Index

Go to full version