user3176453
user3176453

Reputation: 1

NPAPI plugin - To access array object from Javascript

I created a NPAPI plugin, but want to know which all methods in NPClass gets invoked in the below mentioned javascript code for line2 .

Also I want to know the method to access array index in the plugin .

  1. var tst = document.getElementById('test');
  2. var name1 = tst[1];

Upvotes: 0

Views: 144

Answers (1)

taxilian
taxilian

Reputation: 14324

It will call your GetProperty method; the NPIdentifier will either be an IntIdentifier with the value of i or a normal StringIdentifier with the numeric string matching i.

Upvotes: 1

Related Questions