Search found 11 matches
- 07 Nov 2017, 08:50
- Forum: Ask for Help (v1)
- Topic: DOM-Determine the index for table row containing a link
- Replies: 8
- Views: 1501
Re: DOM-Determine the index for table row containing a link
Thanks Xeo786, I had actually done just that by grabbing the whole body and adding it to an array using the "tr" value. looping through all 200-400 row takes 10-20 seconds, which was just too slow. But, you gave me an idea. There are 13-14 tables, and each has a unique, but consistent, title, which ...
- 06 Nov 2017, 09:04
- Forum: Ask for Help (v1)
- Topic: DOM-Determine the index for table row containing a link
- Replies: 8
- Views: 1501
DOM-Determine the index for table row containing a link
I have a web page containing 13-14 tables, which displays 200-400 rows in total on the page. Each row contains at least 1 target link, allowing the user to jump to it from a listview at the top of the page. I collect the links using pwb.document.getElementsByTagName("A") and do some manipulation/sor...
- 05 Nov 2016, 10:32
- Forum: Old Topics
- Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
- Replies: 423
- Views: 422649
Re: AutoGUI - GUI Designer and Script Editor
I get this error on launch of v10-13-16 FYI.
Error at line 3073.
Line Text: % Sci[Tab].FullFileName
Error: This parameter contains a variable name missing its ending percent sign.
Error at line 3073.
Line Text: % Sci[Tab].FullFileName
Error: This parameter contains a variable name missing its ending percent sign.
- 04 Nov 2016, 15:04
- Forum: Ask for Help (v1)
- Topic: Problem getting the ActiveElement
- Replies: 0
- Views: 451
Problem getting the ActiveElement
I have a program accesses a web page table in IE11. When clicking on a particular <TD>, the program uses the "activeElement" method to identify what has been clicked, and pulls out the innerHTML for the entire row. I have used both: pwb.document.parentWindow.frames[1].document.activeElement.parentNo...
- 20 Jan 2016, 12:45
- Forum: Ask for Help (v1)
- Topic: Altered innerhtml dropping quotes when reloaded
- Replies: 5
- Views: 1011
Re: Altered innerhtml dropping quotes when reloaded
Thanks for the review and interest, BlackHolyMan.
- 20 Jan 2016, 12:44
- Forum: Ask for Help (v1)
- Topic: Altered innerhtml dropping quotes when reloaded
- Replies: 5
- Views: 1011
Re: Altered innerhtml dropping quotes when reloaded
I dropped the variable and did some more trial and error testing and found that if I add a space after the semicolon, it works: stringreplace,temp1,temp1,<P,<P onclick="changeText(this); ",all I get this in the finished innerhtml: <P onclick="changeText(this); " I don't know why adding a space made ...
- 20 Jan 2016, 11:35
- Forum: Ask for Help (v1)
- Topic: Altered innerhtml dropping quotes when reloaded
- Replies: 5
- Views: 1011
Re: Altered innerhtml dropping quotes when reloaded
No joy. The onclick is there, but the quotes around - changeText(this); - are still missing.
- 20 Jan 2016, 11:02
- Forum: Ask for Help (v1)
- Topic: Altered innerhtml dropping quotes when reloaded
- Replies: 5
- Views: 1011
Altered innerhtml dropping quotes when reloaded
I am trying to insert an onclick into a webpage using stringreplace. What I want to appear in the html is: <P onclick="changeText(this);" I can successfully insert an onclick to change the background color of a paragraph using this: temp1 :=pwb.document.parentwindow.frames[1].document.getElementsByT...
- 18 Jan 2016, 13:28
- Forum: Ask for Help (v1)
- Topic: Click Element to Change Background Color
- Replies: 1
- Views: 626
Re: Click Element to Change Background Color
My solution is to grab the body, use stringreplace to insert the onclick, and send it back. temp1 :=pwb.document.parentwindow.frames[1].document.getElementsByTagname("body")[0].innerhtml stringreplace,temp1,temp1,<P,<P onclick="style.backgroundColor='66FF66'",all pwb.document.parentwindow.frames[1]....
- 18 Jan 2016, 10:10
- Forum: Ask for Help (v1)
- Topic: COM Object Issue
- Replies: 6
- Views: 2253
Re: COM Object Issue
I am not sure what you mean by "using a string." Maybe you could explain what you are trying to do.
- 18 Jan 2016, 08:54
- Forum: Ask for Help (v1)
- Topic: Click Element to Change Background Color
- Replies: 1
- Views: 626
Click Element to Change Background Color
I have a web page with tables that have long columns filled with text in <p> tags. I am trying to create the effect that when the user clicks on any word, the background color for the paragraph containing that word will change to a different color. My thought is that once I determine the element tag...