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
Is There a Ready Routine ...
by
BeanzMaster
[
Today
at 08:05:16 am]
"PixelFormat:=pf24bit" ca...
by
lijinjie
[
Today
at 07:51:51 am]
Linux daemon's AccessViol...
by
trev
[
Today
at 06:52:35 am]
WinAPI - examples - post ...
by
440bx
[
Today
at 06:23:15 am]
Unable to set image backg...
by
Handoko
[
Today
at 05:09:32 am]
[Solved] 32 Bit vs 64 Bit...
by
Peter H
[
Today
at 04:28:12 am]
While loop and two-dimens...
by
egsuh
[
Today
at 03:01:45 am]
Streaming video to a web ...
by
Jurassic Pork
[
Today
at 02:47:35 am]
WinAPI - examples - INDEX
by
440bx
[
Today
at 02:04:31 am]
Brook - Beginner trying t...
by
PierceNg
[
Today
at 01:36:05 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Invoke java script (Read 472 times)
michoux
New Member
Posts: 32
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: 2598
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: 36
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