Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Invoke java script
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Get palette
by
justnewbie
[
Today
at 08:23:30 pm]
Linux messagebox
by
MarkMLl
[
Today
at 08:12:43 pm]
Indy: check if client is ...
by
Remy Lebeau
[
Today
at 08:11:22 pm]
Problem with receiving ev...
by
Igor Kokarev
[
Today
at 07:43:29 pm]
[Index] My Collections of...
by
ASBzone
[
Today
at 07:29:49 pm]
FPC on Rasp Pi, non Lazar...
by
MarkMLl
[
Today
at 07:28:07 pm]
Tchart Log10 transformati...
by
flori
[
Today
at 07:00:12 pm]
More componenets.
by
Martin_fr
[
Today
at 06:36:43 pm]
[LAMW] jNotificationManag...
by
Segator
[
Today
at 05:00:51 pm]
linux x64 assembler
by
Key-Real
[
Today
at 05:00:45 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Invoke java script (Read 516 times)
michoux
New Member
Posts: 37
Invoke java script
«
on:
July 08, 2020, 03:35:32 pm »
Hello,
I have a web page with some javascript.
Is it possible to call some javascript code for this web page from Lazarus?
Logged
PascalDragon
Hero Member
Posts: 2748
Compiler Developer
Re: Invoke java script
«
Reply #1 on:
July 09, 2020, 09:22:02 am »
You can either
embed
a browser in your application or you essentially need to use your own JS interpreter which can be done for example by using the
libsee
library for which headers are provided by FPC (plus a
how to
) or you can use the full Pascal JS engine
BESEN
.
Logged
yus
New Member
Posts: 37
Re: Invoke java script
«
Reply #2 on:
July 09, 2020, 09:00:57 pm »
I know that it is possible to execute code written in python.
https://wiki.freepascal.org/Using_Python_in_Lazarus_on_Windows/Linux
I also know that it is possible to execute javascript in python.
Maybe this way will help solve your problem.
I myself have not tried to do this.
If you achieve any results, it will be very interesting to know about it.
«
Last Edit: July 09, 2020, 09:05:22 pm by yus
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Networking and Web Programming
»
Invoke java script
TinyPortal
© 2005-2018