By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,688 Members | 1,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,688 IT Pros & Developers. It's quick & easy.

run javascript function into frame with Pamie

P: 2
hello , guys i'm wondering how to run javascript code ..


look into my code

Expand|Select|Wrap|Line Numbers
  1. ieobj = a.getIE()
  2. aaa =ieobj.Document.Frames['FrameTxn'].document.Frames['BuySellMainFrame']
  3.  
into the BuySellMainFrame Frame there is javaScript function i could not find anyway to solve that ... thanks
Jul 23 '12 #1
Share this Question
Share on Google+
1 Reply

P: 2
this is the answer ..

Expand|Select|Wrap|Line Numbers
  1. c=ieobj.Document.Frames['FrameTxn'].document.Frames['BuySellMainFrame'].document
  2. pw = c.parentWindow
  3. pw.execScript("javascript function name")
  4.  
Jul 24 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.