Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to execute javascripts in delphi

Posted on 2011-03-04
4
Medium Priority
?
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 2000 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Suggested Courses

704 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