AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) accessing property of npapi plugin with javascript
Thema durchsuchen
Ansicht
Themen-Optionen

accessing property of npapi plugin with javascript

Ein Thema von drama22 · begonnen am 23. Mär 2015
Antwort Antwort
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#1

accessing property of npapi plugin with javascript

  Alt 23. Mär 2015, 09:50
i do something like this

Code:
<embed id="object" type="application/x-plugin" width="900" height="500">
  <param name="name" value="test" />
  <param name="pass" value="blabla" />
</embed>

<script>
var control = document.getElementById('object');
function myFunction() {
control.name=document.getElementById("name").value;
}
myFunction();
</script>
i simply can insert Param name value to my application but i have to repeat
Code:
control.name=document.getElementById("name").value;
each time i want to read other param is there any way to accsess property in napapi same as normal activex do with type library ?like for each param property = its value ?
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:35 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz