Jump to content

Var Button='' cannot click it inside JavaScript

Recommended Posts

I tried using the _IETagGetNameCollection for button and then this:

If $oTag.value = "submitform" Then
    ;If _IEPropertyGet($oTag, "innertext") = "submitform(" Then
        _IEAction($oTag, "click")

I tried both of them and didnt worked. Here is the Javascript code button:

<script language="javascript">...var button='';button+='<table border="0"id="table1"cellspacing="0"cellpadding="2">button+='<tr><td>';button+='<button type="submit" name="B5"style="height: 20; background-color: #6600FF; width:20" onclick="submitform(1);"></button></td>';var button2='<button type="submit"  name="B6" style="height: 20; background-color: #6600FF; width:20" disabled></button>';function incrCount(){window.status="Please Wait...";loaded++;....</script>

The error I get in the console:

C:\VastHitsBot\scipts\TEST2.au3 (29) : ==> Variable must be of type "Object".:
For $oTag In $colTags
For $oTag In $colTags^ ERROR

How do I get the javascript language so AutoIT can read whats inside the script as well?

One more inquire:

At the end of this month I get paid at work and I want to donate to AutoIT, is there any subscription that I can get more support?

Link to post
Share on other sites
  • Moderators


This looks as if you are trying to spam a manual traffic exchange site - VastHits. Your very first post on this forum said:

Ok, I am trying to attack to an url I opening

and mentioned the same site.

Have you read their T&Cs? If not, here is an extract:

In Brief, you are NOT allowed to:

Use robot/auto surf software of any kind.

which seems pretty definitive to me. :oops:

And as to your second point, you get as much support here as your questions deserve - which in your case is very little - and we certainly do not offer more help for cash. :doh:

To add to the fun, I see from reviewing your topics that in this one you slip up and use both your accounts in the same thread. Guess what - multiple accounts are not allowed here, and as you seem to add very little to the AutoIt community in either guise, they will both be permanently blocked. Now go away and find another forum to annoy. :bye:


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...