Jump to content
Sign in to follow this  
Janice

Trouble with radio button (which has no name)

Recommended Posts

Janice

Hi all,

I've only started using AutoIT around 2 months ago, so I'm still new to this.

I have read many discussions on this forum and haven't found the answer yet.

I need to use _IE function to click the radio button below.

 

Here's my line of codes:

I've tried to use send('{SPACE}') as well (which does work manually on the webpage)

_IELinkClickByText($oIE, $window_title) ;Go to Office Addresses list
_IELoadWait($oIE)
_IEFormElementRadioSelect($oIE, "", "body_item_defaultSummaryList_0_selectItem")
_IELoadWait($oIE)

and this is the html code (that I got from Firefox's Web Developer)

<input id="body_item_defaultSummaryList_0_selectItem" type="radio" title="Select Item 1. Office Type. Remit To. Office. blank. Address Code. blank. " columnindex="0" tabindex="1835"></input>

I hope I've made myself clear.

Thanks for your help in advance. :)

Share this post


Link to post
Share on other sites
computergroove

Maybe this will help. You are using IE and referencing Firefox. This is a UDF to control Firefox.

'?do=embed' frameborder='0' data-embedContent>>

Also could you maybe point us to the website so we can try your code on it and fix it or rewrite it?


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
Janice

True enough, but I have to use the _IE functions. I used firefox to get the name of the radio button since I couldn't find it in the HTML on internet explorer. I'm afraid I can't give the website, because it's password protected. I can, however, give you the page's HTML file (it's short compared to others):

Anyway, I can't find the radio button on this source code. If you can, would you mind pointing it out to me?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="LTR">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<head>
<title>Office Addresses</title>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
 
<link rel="stylesheet" type="text/css" href="/momex/3rdParty/jQueryUI/themes/default/jquery-ui-1.8.2.custom_2068344832.css.cache">
<link rel="stylesheet" type="text/css" href="/momex/themes/default/stylesheet.common_2068344832.jsp.cache">
<link rel="stylesheet" type="text/css" href="/momex/3rdParty/jqGrid/css/ui.jqgrid_2068344832.css.cache">
<link rel="stylesheet" type="text/css" href="/momex/themes/default/stylesheet_2068344832.jsp.cache">
 
 
<link href="jsp/stylesheet_momentum_5911945.jsp.cache" type="text/css" rel="STYLESHEET">
 
<script type="text/javascript" src="jsp/stdimg_2068344832.jsp.cache"></script>
 
<script type="text/javascript" src="JSIncludeExec_2068344832.jsp.cache"></script>
 
<script type="text/javascript" src="js/resources/LocaleElements_en_2068344832.js.cache"></script>
 
 
<script type="text/javascript" src="BillingFormDetail/Main/OfficeJoins_jso_5911945.jsp.cache" language="JavaScript"> 
<!--
 
// -->
</script><script language="JavaScript" src="js/DefaultDetailListener_2068344832.js.cache"></script><script language="JavaScript" src="js/DefaultTableListener_2068344832.js.cache"></script><script language="JavaScript" src="js/DefaultScrollableTableListener_2068344832.js.cache"></script><script language="JavaScript" src="js/ScrollTable_2068344832.js.cache"></script>
 
<script type="text/javascript" src="js/wfx/Tree_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/DefaultDetailListener_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/WFNode_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/WFFolderNode_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/WFRootFolderNode_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/WFLeafNode_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/Header_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/TabIndex_wfx_override_2068344832.js.cache" language="JavaScript"></script>
<script type="text/javascript" src="js/wfx/menu_wfx_override_2068344832.js.cache" language="JavaScript"></script>
 
 
 
 
 
 
 
<script type="text/javascript" language="JavaScript"> 
 
var momentumProblemContextPrefix = null;
var momentumProblemContextPrefixArray = null;
 
 
</script>
 
 
 
 
<script type="text/javascript" src="js/extension/DynamicExtensionCopyFrom_2068344832.js.cache"  language="JavaScript"></script>
<script type="text/javascript" src="js/extension/DynamicExtensionWidget_2068344832.js.cache"  language="JavaScript"></script>
<script type="text/javascript" src="js/extension/DynamicExtension_toBeReplacedByWFX_2068344832.js.cache"  language="JavaScript"></script>
 
<script type="text/javascript" language="JavaScript"> 
 
 
 
function getDynamicExtensionMode(){
    return decodeString('');
}
 
function getDynamicExtensionUsesDataValues(){
    return "true" == decodeString("true");
}
 
 
function getDynamicExtensionPageIdentifier(){
    return decodeString('BillingFormDetail_Main_OfficeJoins');
}
 
function getDynamicExtensionUndoElements(){
    if(getDynamicExtensionMode() == "user")
    {
        if('function' == typeof window.getDynamicExtensionUndoElements_BillingFormDetail_Main_OfficeJoins_user)
            return getDynamicExtensionUndoElements_BillingFormDetail_Main_OfficeJoins_user();
    }
    else
    {
    // need to concatenate the domain and page arrays
        var returnArray1 = null;
        var returnArray2 = null;
        if('function' == typeof window.getDynamicExtensionUndoElements_BillingFormDetail_Main_OfficeJoins_)
            returnArray1 = getDynamicExtensionUndoElements_BillingFormDetail_Main_OfficeJoins_();
 
        if('function' == typeof window.getDynamicExtensionUndoElements_OfficeJoinForm_)
            returnArray2 = getDynamicExtensionUndoElements_OfficeJoinForm_();
 
        if(returnArray1 == null)
            return returnArray2;
        else if(returnArray2 == null)
            return returnArray1;
        else
            return returnArray1.concat(returnArray2)
    }
    return null;
}
 
 
</script>
 
 
 
<script type="text/javascript" src="jsp/DynamicExtensionDomainRenderer_2068344832.jsp.cache" language="JavaScript"></script>
 
 
<script type="text/javascript" src="jsp/DynamicExtensionViewRenderer_2068344832.jsp.cache" language="JavaScript"></script>
 
 
 
 
 
 
 
 
<script language="JavaScript"> 
function getEventParams(){ return "domainUpdater=collectionDomainUpdater,sessionContext=FormDocDetail,parentContext=" + decodeString("")+ ",classId=OfficeJoinForm";}
function getCurrentState(){return "//BillingFormDetail/Main/OfficeJoins";}
function getUrl(){ return "Controller"; }
function getUnload(){ return unloadWin; }
__timeoutWarn = 1200;
__sessionLock = 0;
__isNew = false;
__pageId = decodeNumber(1);
__winId = decodeNumber(1);
__winList = decodeString("0%7C1");
__momScndId = decodeString("41c8f4fd-2235-4b94-bc50-01280c7ed205");
jQuery.extend(wfx.page, {isHeaderDefaultingEnabled:function(){return true;}}); 
 
function getContext(){
   return "OfficeJoinForm";
}
function getCurrentField(){
   return decodeString("");
}
var pageReadOnly = false;
 
 
var defaultFields = getDefaultFields();
function getFields() {
   return defaultFields;
}
 
 
 
executePreDOMInitPageListeners();
function getCurrentItem() { return ""; }
itemOffset="0";
itemCollection = new Array();
 
item = new WFItem_OfficeJoins();
 
item.lws('officeType', 'R',0);
item.lws('addressCode', '',0);
item.lws('code', '',0);
item.lws('uniqueIdentity', '%267401%263310%261609%26BI%26FRO20140053%26%26R',0);
item.setUpdateStatus(0);
item.set('transientItem', 0);
item.set('previousStatus', 'null');
if (item.previousStatus.v == "null") {
   item.set('previousStatus', UPDATESTATUS.NOTMODIFIED);
}
itemCollection.push(item);
 
</script>
<script type='text/javascript'> 
var validValues = {
 
officeType:{V44: "Delivery",V45: "Acceptance",V46: "Final Destination",V41: "Admin",V43: "COTR",V4D: "Invoice",V4E: "Inspection",V4F: "Order",V49: "Issue",V54: "Technical Office",V51: "Request",V50: "Property",V52: "Remit To"},
officeType:{V41: "Admin",V43: "COTR",V44: "Delivery",V45: "Acceptance",V46: "Final Destination",V49: "Issue",V4D: "Invoice",V4E: "Inspection",V4F: "Order",V50: "Property",V51: "Request",V52: "Remit To",V54: "Technical Office"}
}
var emptyValidValues = {
}
 
 
function getSortField() {
   return decodeString("");
}
function getSortOrder() {
   return decodeString("");
}
function getSortCollectionTransition() {
   return "sortCollection";
}
function getDefaultItem() {
   var item = new WFItem_OfficeJoins();
item.lws('officeType', '',0);
item.lws('addressCode', '',0);
item.lws('code', '',0);
item.lws('uniqueIdentity', '',0);
item.setUpdateStatus(4);
item.set('transientItem', 1);
item.set('previousStatus', 'null');
if (item.previousStatus.v == "null") {
   item.set('previousStatus', UPDATESTATUS.NOTMODIFIED);
}
   return item;
}
function wfx_ItemCollection_GetSortTransition() {
   return "defaultSummaryList.sortTransition";
}
</script>
 
 
<script type="text/javascript" language="JavaScript"> 
<!--
function getPostOnLoadPageAction() {
    return getPostDOMInitPageListeners() + decodeString("");
}
 
// -->
</script>
 
 
 
</head>
 
<body onLoad="initWin();initPageFields();gotoFirstPageField();initPage();initPageHeader();postOnLoadPageAction();">
<div id="coreTransparentLayer" class="transparentPage"><table width="100%" height="100%"><tr><td></td></tr></table></div><div id="coreHideLayer" style="position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:1000; background-color: #FFFFFF; layer-background-color: #FFFFFF;"><table width="100%" height="100%"><tr><td></td></tr></table></div>
<div id="momentumTransparentLayer" class="transparentPageLoad"></div><div id="momentumLoadingImageLayer" class="transparentPage" ><table><tr>Loading...<td></td></tr><tr><td><img border="0" alt="Loading" src="images/loading_2068344832.gif.cache"></td></tr></table></div>
 
 
 
<script language="JavaScript" type="text/javascript"> 
var popupWin;
function openPopUp()
{
    var width=650;
    var height=350;
    var top=(window.screenTop+(document.body.clientHeight-height)/2);
    var left=(window.screenLeft+(document.body.clientWidth-width)/2);
 
    if (popupWin && !popupWin.closed) {
        popupWin.focus();
    } else {
        popupWin=window.open('about.jsp', 'aboutMomentum',
                'left='+left+','+'top='+top+','+
                'width='+width+','+'height='+height);
    }
}
 
</script>
 
 
<div class="header">
    <span class="applicationLogo"><span>Momentum</span></span>
    <span class="applicationLinks">
      <a href="javascript:triggerTransition('//ASGTWorkList/Main');" tabindex="1">Inbox</a>
    | <a href="javascript:triggerTransition('//Preference/Styles');" tabindex="2">Preferences</a>
    | <a href="javascript:triggerTransition('//MomentumShortcutDetail/Main');" tabindex="3">Shortcuts</a>
    | <a href="javascript:triggerTransition('//Category/SiteMap');" tabindex="4">Site Map</a><a
         href="javascript:triggerTransition('//Category/SiteMap','','','true');" tabindex="5"><img alt="Site Map in new window" title="Site Map in new window" src="images/branch_d_2068344832.gif.cache"></a>
 
 
    | <a href="http://rs27t.loctest.gov:9001/momentum-help/Billing_Document_form.htm" target="_new" tabindex="10">Help</a>
 
    | <a href="javascript:openPopUp();" tabindex="11">About</a>
 
    </span>
  <span class="sessionLinks">
      Welcome Cindy Scharf
      
        | July 31, 2014
 
 
 
    | <a href="javascript:closeWin();" tabindex="13">Close Window</a>
 
    </span>
    <span class="clear"></span>
</div>
 
    
    <div class="siteNavigation">
            <span class="menubar">
                
<script type="text/javascript" src="MenuBar_1102696162.jsp.cache"></script>
<script type="text/javascript">writeMenuBar();</script>
                <span class="clear"></span>
            </span>
            <span class="breadcrumb"><span>></span><a href="javascript:triggerParentTransition(1,'//BillingFormDetail/Main')">
Header: BI Bill&#32;IPAC&#32;Outbound&#45;Updates&#32;Bgt FRO20140053 HELD </a>
<span>></span>
<nobr>Office Addresses</nobr>
</span>
            
            <span class="bookmark"></span>
            
                <div id="momentumMailToLink" style="visibility: hidden; display: none; vertical-align:middle;" >
<a HREF="javascript:invokeMomentumMailToLink();" ><img alt="Mail To" border="0" src="images/email.gif"></a>
            </div>
            
            <span class="startPage"></span>
            
            <span class="clear"></span>
        </div>
 
        <div id="messages" class="messages" style="display:none;">
 
            <span class="override"><a id="msgsOverrideLink" href="javascript:overrideSelectedMsgs('currentState','overrideProblems')"  class="invisible"  title="Override">Override</a></span>
<span class="listControls"><a id="msgsSummaryListToggleLink" href="javascript:msgsSummaryList.toggleMaximized('msgsSummaryListToggleLink','msgsSummaryListToggleImg')" title="Maximize the list."><img id="msgsSummaryListToggleImg" align="top" title="Maximize the list." alt="Maximize the list." border="0" src="images/maximize_2068344832.gif.cache"></a></span>
<span id="messagesList" class="messagesList" role="region" aria-atomic="true" aria-live="assertive" aria-relevant="all">
    <script type="text/javascript" language="JavaScript"> 
<!--
msgsCollection = new Array();
function getDefaultMsgsHeader(){
   var msgsHeaderFields = new Array();
   msgsHeaderFields.push({ label:"", fieldName:"icon", fieldType:"String", maxLength:"", required:"", sortable:false, width:-1, detailLink:"", branchLink:"", align:"", headerAlign:"", visible:"1" });
   msgsHeaderFields.push({ label:"Summary", fieldName:"summary", fieldType:"String", maxLength:"", required:"", sortable:false, width:-1, detailLink:"", branchLink:"", align:"", headerAlign:"", visible:"1" });
   msgsHeaderFields.push({ label:"Detail", fieldName:"detail", fieldType:"String", maxLength:"", required:"", sortable:false, width:-1, detailLink:"", branchLink:"", align:"", headerAlign:"", visible:"1" });
   return msgsHeaderFields;
}
var defaultMsgHeader = getDefaultMsgsHeader();function getMsgsHeader(){
   return defaultMsgHeader;
}
var msgsSummaryList = createMessagesSummaryList('messagesList');
msgsSummaryList.addListener(new DefaultMessageTableListener(msgsSummaryList));
msgsSummaryList.selectionMode = SELECTIONMODE.MULTI_SELECT;
var msgsHeader = getMsgsHeader();
msgsSummaryList.createList(msgsHeader, msgsCollection);
if (msgsCollection.length <= msgsSummaryList.maxRowsBeforeScroll) msgsSummaryList.toggleMaximized('msgsSummaryListToggleLink', 'msgsSummaryListToggleImg', true);
 
// -->
</script>
</span>
        </div>
        <div class="viewContext">
        <div class="securityMessage"></div>
    <div class="link-row" id="viewNavigation">
        <span class="viewNavigationButtons">
            <table cellpadding="0" cellspacing="0" border="0"  >
    <tr>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="verifyButton">
    <td colspan="2">
    <button name="verifyButton" id="y1JOtR5" enabledMode="" widgetLabel="verifyButton" widgetField="verifyButton" 
    type="button"
    onclick="javascript:triggerTransition('currentState','verifyOrSaveForm','action=Verify')" ><span class="underline">V</span>erify
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("y1JOtR5");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("V");
    jQuery(document).ready(function() { 
         jQuery("#y1JOtR5").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="saveButton">
    <td colspan="2">
    <button name="saveButton" id="y1KLcZr" enabledMode="" widgetLabel="saveButton" widgetField="saveButton" 
    type="button"
    onclick="javascript:triggerTransition('currentState','verifyOrSaveForm','action=Save')" ><span class="underline">S</span>ave
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("y1KLcZr");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("S");
    jQuery(document).ready(function() { 
         jQuery("#y1KLcZr").button();
    });
addPostDOMInitPageListener('momentum_addDefaultAction("dataHolderDiv", "saveButton");', 50);
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="processButton">
    <td colspan="2">
    <button name="processButton" id="z10uEBj" enabledMode="" widgetLabel="processButton" widgetField="processButton" 
    type="button"
    onclick="javascript:triggerTransition('initialState','processForm')" >Su<span class="underline">b</span>mit
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("z10uEBj");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("b");
    jQuery(document).ready(function() { 
         jQuery("#z10uEBj").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="scheduleButton">
    <td colspan="2">
    <button name="scheduleButton" id="ynqkoL" enabledMode="" widgetLabel="scheduleButton" widgetField="scheduleButton" 
    type="button"
    onclick="javascript:triggerTransition('initialState','scheduleForm')" >Sche<span class="underline">d</span>ule
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("ynqkoL");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("d");
    jQuery(document).ready(function() { 
         jQuery("#ynqkoL").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="refreshButton">
    <td colspan="2">
    <button name="refreshButton" id="yI865F" enabledMode="" widgetLabel="refreshButton" widgetField="refreshButton" 
    class=""  type="button" 
    onclick="javascript:triggerTransition('currentState','refreshForm')" >Re<span class="underline">f</span>resh
</button>
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("yI865F");
                    button.setAttribute("ignoreParentReadOnly", decodeString(""));
        button.accessKey = decodeString("f");
    jQuery(document).ready(function() { 
         jQuery("#yI865F").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="toFundButton">
    <td colspan="2">
    <button name="toFundButton" id="zRHH70" enabledMode="" widgetLabel="toFundButton" widgetField="toFundButton" 
    type="button"
    onclick="javascript:triggerTransition('currentState','toggleCurrencies','isForm=true,currencyMode=Fund')" >Fund&#32;<span class="underline">C</span>urrency
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("zRHH70");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("C");
    jQuery(document).ready(function() { 
         jQuery("#zRHH70").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="addShortcutButton">
    <td colspan="2">
    <button name="addShortcutButton" id="y1qxRJR" enabledMode="" widgetLabel="addShortcutButton" widgetField="addShortcutButton" 
    type="button"
    onclick="javascript:triggerTransition('currentState','addDocumentShortcut')" ><span class="underline">A</span>dd&#32;Shortcut
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("y1qxRJR");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("A");
    jQuery(document).ready(function() { 
         jQuery("#y1qxRJR").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="attachmentsButton">
    <td colspan="2">
    <button name="attachmentsButton" id="ybfuIE" enabledMode="" widgetLabel="attachmentsButton" widgetField="attachmentsButton" 
    type="button"
    onclick="javascript:triggerTransition('//DocumentManagement/Main/Detail','pushState')" >A<span class="underline">t</span>tachments
 
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("ybfuIE");
    button.accessKey = decodeString("t");
    jQuery(document).ready(function() { 
         jQuery("#ybfuIE").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="printBIRTButton">
    <td colspan="2">
    <button name="printBIRTButton" id="z1DzykC" enabledMode="" widgetLabel="printBIRTButton" widgetField="printBIRTButton" 
    type="button"
    onclick="javascript:triggerTransition('//jsp/retrieveBIRTReportOutputHelper','printFormOrDocument','overrideConfirmationPage=true',true)" ><span class="underline">P</span>rint
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("z1DzykC");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("P");
    jQuery(document).ready(function() { 
         jQuery("#z1DzykC").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="routeButton">
    <td colspan="2">
    <button name="routeButton" id="zBS7vR" enabledMode="" widgetLabel="routeButton" widgetField="routeButton" 
    type="button"
    onclick="javascript:triggerTransition('//MailRouterDetail/Main','routeObjectAndPushState','routeSource=fromForm,DisableViewExitTrans=true')" ><span class="underline">R</span>oute
</button>    
 
<script type="text/javascript" language="JavaScript"> 
    var button = document.getElementById("zBS7vR");
                    button.setAttribute("ignoreParentReadOnly", decodeString("true"));
        button.accessKey = decodeString("R");
    jQuery(document).ready(function() { 
         jQuery("#zBS7vR").button();
    });
</script>
 
 
 
    </td>
</tr>
 
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            
                                    </table>
            </td>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="momentumMailToLink">
    
 
<script type="text/javascript" src="js/document/DocumentMailToLink_2068344832.js.cache" language="JavaScript"></script> 
 
</tr>
 
                                    </table>
            </td>
            </tr>
</table>
        </span>
        <span class="viewNavigationInfo">
            
            
        </span>
        <span class="viewNavigationParentPageLinks">
            
        </span>
        <span class="clear"></span>
    </div>
    </div>
 
        <table cellspacing="0" width="100%" border="0" cellpadding="0" style="PADDING : 0px;">
<tr>
<td style="PADDING : 0px;" height="100%">
    <div class="tab-pane">
        <div class="tab-row">
            <div class="tab"><a id="y15u2S3" href="javascript:triggerParentTransition(1,'//BillingFormDetail/Main')" title="Display Header">Header</a></div><div class="tab"><a id="y1L3kxG" href="javascript:triggerParentPeerTransition(1,'//BillingFormDetail/Main/AcctgLineSummary')" title="Display Accounting Lines">Accounting Lines</a></div><div id="selectedTab" class="selected tab">Office Addresses</div><div class="tab"><a id="y1NkOXa" href="javascript:triggerParentPeerTransition(1,'//BillingFormDetail/Main/Approvers')" title="Display Approval Routing">Approval Routing</a></div><div class="tab"><a id="y1FpJCw" href="javascript:triggerParentPeerTransition(1,'//BillingFormDetail/Main/Memo')" title="Display Memos">Memos</a></div><div class="tab"><a id="yPQxGk" href="javascript:triggerParentPeerTransition(2,'//BillingFormDetail/Main/Summary')" title="Display Summary">Summary</a></div><div class="tab"><a id="y1hyhPw" href="javascript:triggerParentPeerTransition(2,'//BillingFormDetail/Correspondence')" title="Display Correspondence">Correspondence</a></div><div class="row-end">&nbsp;</div>
        </div>
    <div class="tab-page">
        <div id="subPages" class="disabled link-row">
            <table class="wide-table">
                <tr>
                    <td width="100%">
                                            <div class="tab"><a title="Display Office Address" enabledMode="singleSelect" enabledHref="javascript:triggerDetailTransition('//BillingFormDetail/Main/OfficeJoins/OfficeJoin')">Office Address</a></div><div class="row-end">&nbsp;</div>
                                        </td>
                    <td>
                        
                    </td>
                    <td>
                        
                    </td>                   
                </tr>
            </table>
            
        </div>
        <div id="__viewport" name="viewport" class="viewport" >
    
        <form name="headerForm" onSubmit="javascript:return false">
    <div id="headerDiv" name="headerDiv" class="pageHeaderSection">
        
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<table cellpadding="0" cellspacing="0" border="0"  >
    <tr>
                    <td valign="top">
                <table width="100%" border="0">
                                            <tr widget="MomentumCurrencyFormatter">
    
 
<script type="text/javascript" language="JavaScript"> 
 
momentumCurrencyFormatter=new MomentumCurrencyFormat( new MomentumCurrencyLocale( '.', ',', decodeNumber("2"), decodeNumber("4"), '(', new MomentumCurrencySignFormat( decodeNumber("3"), '$', '' ), new MomentumCurrencySignFormat( decodeNumber("3"), '($', ')' ) ) );
 
if(momentumCurrencyFormatter != null){
pageCurrency = new Currency({
"USD":{precision:decodeNumber("2"),iSymbol:"USD",symbol:"$",currencyLocale:new MomentumCurrencyLocale( '.', ',', decodeNumber("2"), decodeNumber("4"), '(', new MomentumCurrencySignFormat( decodeNumber("3"), '$', '' ), new MomentumCurrencySignFormat( decodeNumber("3"), '($', ')' ) )}});
}
</script>
 
</tr>
 
                                    </table>
            </td>
            </tr>
</table>
 
    </div>
</form>
 
        <form name="dataHolderForm" onsubmit="javascript:return false">
        <div id="dataHolderDiv" name="dataHolderDiv">
            <script type="text/javascript" src="js/widget/SortCollectionWidget_2068344832.js.cache" language="JavaScript"></script> 
<div id="itemMenu" class="lineItemMenu">
    <table>
        <tr>
            <td><table cellpadding="0" cellspacing="0" border="0"  >
    <tr>
            </tr>
</table></td>
                            <td><label for="maxItems">Display</label>
<select id="maxItems" onChange="displayItems(0)"><option value="10" SELECTED>10<option value="20">20<option value="50">50<option value="100">100<option value="All">All</select> Items</td>
                        <td>&nbsp;&nbsp;</td>
            <td align="right">
                                    <button
                        type="button"
                        id="csvid"
                        onclick="javascript:triggerCsvEvent();"
                        title="Export Items into a CSV file"
                    >View as CSV</button>
                    <script type="text/javascript">
                        jQuery(document).ready(function() {
                            jQuery("#csvid").button(); 
                        });
                    </script>
                            </td>
            <td align="right">
                    <button
                        type="button"
                        id="momentumSortCollectionMenu"
                        onclick="javascript:displaySortCollectionWidget('momentumSortCollectionMenu');"
                        widgetfield="sortButton"
                        widgetlabel="sortButton"
                        accesskey="o"
                    >S<span class="underline">o</span>rt...</button>
                    <script type="text/javascript">
                        jQuery(document).ready(function() { 
                             jQuery("#momentumSortCollectionMenu").button();
                        });
                    </script>
                                </td>
        </tr>
    </table>
</div>
<table width="98%" class="itemNavigation"><tr><td></td><td align="right"><a id="defaultSummaryListToggleLink" href="javascript:defaultSummaryList.toggleMaximized('defaultSummaryListToggleLink','defaultSummaryListToggleImg')" title="Maximize the list."><img id="defaultSummaryListToggleImg" align="top" title="Maximize the list." alt="Maximize the list." border="0" src="images/maximize_2068344832.gif.cache"></a></td></tr></table>
<div id="itemCollectionSummaryEditableFields" class="invisible">
 
</div>
<div id="defaultSummaryList" class="itemSummary">
 
 
 <script language="JavaScript"> 
var allowTableScroll = false;
if (allowTableScroll)
{
defaultSummaryList = createScrollableSummaryList('defaultSummaryList');
defaultSummaryList.addListener(new DefaultDetailListener(defaultSummaryList));
defaultSummaryList.addListener(new DefaultTableListener(defaultSummaryList));
defaultSummaryList.addListener(new DefaultScrollableTableListener(defaultSummaryList));
defaultSummaryList.defaultLockedColumnIndex = -1;
defaultSummaryList.previousLockedColumnIndex = decodeNumber("");
defaultSummaryList.lockedColumnIndex = decodeNumber("");
if (defaultSummaryList.lockedColumnIndex == null)
{
defaultSummaryList.lockedColumnIndex = defaultSummaryList.previousLockedColumnIndex;
}
if (defaultSummaryList.lockedColumnIndex == null)
{
defaultSummaryList.lockedColumnIndex = defaultSummaryList.defaultLockedColumnIndex;
}
}
else
{
defaultSummaryList = createSummaryList('defaultSummaryList');
defaultSummaryList.addListener(new DefaultDetailListener(defaultSummaryList));
defaultSummaryList.addListener(new DefaultTableListener(defaultSummaryList));
}
defaultSummaryList.allowTableScroll = allowTableScroll;
</script>
<script language="JavaScript"> 
defaultSummaryList.selectionMode = "singleSelect";
defaultSummaryList.clearOnCopyFields = "addressCode,code,uniqueIdentity";
defaultSummaryList.defaultItem = getDefaultItem();
defaultSummaryList.itemOffset = itemOffset;
var templateContainer = getTemplateContainer(templateReferencesMapping);
var templateFieldMap = getTemplateFieldMap(templateReferencesMapping);
defaultSummaryList.isAutoTabModeEnabled = false;
defaultSummaryList.isExpertModeEnabled = false;
defaultSummaryList.createList(defaultHeader, itemCollection, templateContainer, templateFieldMap);
if (allowTableScroll)
{
 defaultSummaryList.createScrollingTable();
}
else
{
defaultSummaryList.toggleMaximized('defaultSummaryListToggleLink', 'defaultSummaryListToggleImg', "true" == decodeString("false"));
 
}
</script>
</div>
<div id="SectionsDIV">
</div>
 
        </div>
        </form>
    
    <div class="securityMessage"></div>
</div>
 
    </div>
</div>
</td>
</tr>
</table>
        <div class="sectionNavigation">
<a href="javascript:gotoFirstPageField()" id="secId1" title="Go to top of page" tabIndex="32767">Go to top of page</a>
</div>
 
 
<script type="text/javascript" src="js/common/MomentumDefaultDetailListener_2068344832.js.cache" language="JavaScript"></script>
 
<script type="text/javascript" src="js/wfx/Favorite_wfx_override_2068344832.js.cache" language="JavaScript"></script>
 
 
 
 
    </body>
    <iframe id="commonWidgetIFrame" name="commonWidgetIFrame" frameborder="0" style="position: absolute; visibility: hidden; display:none; z-index:1000" class="floatingDiv" src="Blank_2068344832.html.cache"></iframe>
    <div id="dataForm" class="hidden"></div>
    
 
 
 <script type="text/javascript" language="JavaScript"> 
<!--
function callSetTabOrder()
{
    setTabOrder(false, false);
}
callSetTabOrder();
 
// -->
</script>
 
    
 <script type="text/javascript" language="JavaScript"> 
<!--
setExpandSection(false);
 
// -->
</script>
 
    <script type="text/javascript" language="JavaScript"> 
<!--
setPopupEvents(document.headerForm,true);setPopupEvents(document.getElementById("SectionsDIV"),false);
// -->
</script>
    
 
</html>

Thanks for the reply, it came much quicker than I thought it would.

Share this post


Link to post
Share on other sites
computergroove

When I save this as index.html and open it with firefox I just get a blank page. Can you open the webpage in opera and save webpage as and upload it here? I cannot see the layout otherwise.

Edited by computergroove

Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
j0kky

The HTML results as a blank page because it is entirely built with js scripts and their URLs are relative (not absolute).

Give us the page URL so we can set the right <base> tag.

Edited by j0kky

Share this post


Link to post
Share on other sites
Janice

The HTML results as a blank page because it is entirely built with js scripts and their URLs are relative (not absolute).

Give us the page URL so we can set the right <base> tag.

 

The page can't be accessed because, as I've said, it requires a password to get to the page I need this to be performed on.

 

I suppose I can make this question a bit more general:

If there was a radio button that has no name, how would that be clicked in IE?

Ex:

<input id="xxx" type="radio" title="yyy" columnindex="0" tabindex="1835"></input>

I tried both _IEFormElementRadioSelect() and Send("{SPACE}")

 

Thank you both for trying :)

Edited by Janice

Share this post


Link to post
Share on other sites
computergroove

Sending us the data doesnt give us access to the page or the passwords. It just allows us to see the source and make a script that does what you want. I like to help but it's too much work to try and make a website based on what you have provided for the sole purpose of helping you with your script. Please provide us with what we have asked for.

  • Like 1

Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
computergroove

Isn't the input id"" the name of the button or are you looking for name""?


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
Janice

I've figured it out. It was much simpler than what I thought it would be. Though I don't quite understand why, I just had to treat it as a button, applying:

_IEGetObjByName()
_IEAction()
_IELoadWait()

Thanks for your help.

Share this post


Link to post
Share on other sites
Janice

it's hard to use getobjbyname without a name...

 

I used the title='xxx' part of the tag

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×