Select Element In A Frame
My goal is to change a value from a to d inside the array options in menu.html using Greasemonkey extension in Firefox but my problem is that the element I am trying to select/acce
Solution 1:
You can access frame window using window.frames.menufrm
Then do things like:
var frm = window.frames.menufrm;
frm.options = ['d','b','c'];
frm.createBcmMenu(options);
No guarantees that calling the function again will work well but you can't change anything before that frame has loaded and the original function call will have already been run
Post a Comment for "Select Element In A Frame"