Solved

How to execute javascripts in delphi

Posted on 2011-03-04
4
391 Views
Last Modified: 2012-05-11
Hello.
please help me.

How i can execute a specified javascript into a webbrowser or idhttp?

if anyone know, please help me.
thanks
0
Comment
Question by:helyonprime96
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35035021
By using the TWebBrowser:
http://delphi.about.com/od/adptips2006/qt/wb_execscript.htm

And if you want to call JavaScript functions then:
http://www.delphidabbler.com/articles?article=21
0
 

Author Comment

by:helyonprime96
ID: 35035049
thanks.
but how can i exec this if it is not a javascript but a

<a href="#" class="profileHeadRightHendIcon"></a>

??
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35035079
0
 

Author Closing Comment

by:helyonprime96
ID: 35035119
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 102
cmd.exe will not close when running .bat file to perform FTP upload 18 95
control image tags in a string ? 12 111
C# code editing and collaboration 3 99
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now