AutoHotkey Community

It is currently May 27th, 2012, 12:44 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: March 18th, 2010, 6:39 am 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
I'm just wondering if maybe this is getting overcomplicated?

Code:
<table width='100%' cellpadding='1' cellspacing='0' id='igUltraWebMenu_3_2_2' igTag='internal'  igHov='igmnMenuItemHover'igUrl="JavaScript:mailInternal();" class="igmnMenuItem">


Code:
COM_Invoke(pwb,"execScript","mailInternal();")

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 8:40 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
@ Answer4u

I tried a wide range of numbers for your suggestion, and was unable to get any response from the site. I am not sure that that is the element I am trying to click on, the code is very difficult to understand, though I am fairly certain that it is the right one.

@sinkfaze

That causes outlook to open a pre-wrriten new message, addressed to a corporate email, with information related the the page. That function also appears in a number of places throughout the source code, I think its for something else.

Also, any solution to this would amazing, even an overcomplicated one.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 9:09 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
What should happen when you click the link?

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 9:41 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
Its an online ticket system. The menu item makes a change to one of the tickets fields. Its the only way to make this change.

Sorry, I probably should have said that what happened was not what was supposed to happen. Sometimes I forget you guys aren't actually omniscient =)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 9:48 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
answer4u wrote:
I would try using the childNode() method to step down from the igUltraWebMenu_3_3_2 element.


Perhaps I am calling the childnode() method improperly. I tried all of these, to no effect.

Code:
javascript:  document.all['igUltraWebMenu_3_3_2'].childnode()
javascript:  document.all['igUltraWebMenu_3_3_2'].childnode().click()
javascript:  childnode('igUltraWebMenu_3_3_2')


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 10:36 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Tyrsius wrote:
The menu item makes a change to one of the tickets fields. Its the only way to make this change.


The UltraWebMenu, as I'm reading it from Infragistics, may have some more complexities in execution than merely viewing the menu item's properties. Are you able to view the page source and post any JS functions that reference that specific menu item here?

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 10:55 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
sinkfaze wrote:
The UltraWebMenu, as I'm reading it from Infragistics, may have some more complexities in execution than merely viewing the menu item's properties. Are you able to view the page source and post any JS functions that reference that specific menu item here?


I have not found any functions that reference that menu item.

I posted the page source earlier if you want the whole thing, here is what I believe is related to the menu.

function menu item clicked
Code:
function menuItemClicked(menuId, itemId){
       
            try{
                if (igmenu_getItemById(itemId).getParent().getText() == "Transfer")
                    {
                    var btnTrans = ig$("ResultPanel_btnTransfer");
                    var oTransDesc = document.getElementById("hTransDesc");
                    var oTransQue = document.getElementById("hTransQue");
                   
                    oTransDesc.value = igmenu_getItemById(itemId).getText()
                    oTransQue.value = igmenu_getItemById(itemId).getTag()
                    btnTrans.click();
               };
          }
          catch (err){};
       
        }


Source links to this file: ig control scripts.js
Code:
//--------------------------------------------------------------------------
//  Menu functions
//--------------------------------------------------------------------------
function menuEnableItem(tag, menuId, bEnable){
    var oMenu = igmenu_getMenuById(menuId);
    if (!oMenu) return;
   
    var item = menuGetItemFromTag(tag, oMenu.getItems());
    if (!item) return;

    item.setEnabled(bEnable);
    var imgTag = item.element.getElementsByTagName("IMG")[0];
    if (imgTag){
        var imgSrc = imgTag.src
        if (bEnable){
            if (imgTag.src.search("_disabled.gif") > 0){imgTag.src = imgTag.src.replace("_disabled.gif", ".gif")};
        }
        else{
            if (imgTag.src.search("_disabled.gif") == -1){imgTag.src = imgTag.src.replace(".gif", "_disabled.gif")};
        };
    };
}


function menuGetItemFromTag(tag, items){
    for(var i =0; i < items.length; i++){
        if(items[i].getTag() == tag) return items[i];
        var returnItem = menuGetItemFromTag(tag, items[i].getItems());
        if(returnItem != null) return returnItem;
    };
    return null;
}


//--------------------------------------------------------------------------
//  WARP functions
//--------------------------------------------------------------------------

//Remove default progress image from WARP panels.
function warp_InitializePanel(oPanel) {
    var pi = oPanel.getProgressIndicator();
    pi.setTemplate("<span></span>");
}


//--------------------------------------------------------------------------
//  WebGrid functions
//--------------------------------------------------------------------------
function gridGetSelectedRow(gridName){
    try{
        var oGrid = igtbl_getGridById(gridName);
        if (!oGrid) return null;

        var oRow = null;
        for(var rowId in oGrid.SelectedRows){
            oRow = igtbl_getRowById(rowId);
            break;
        };

        return oRow;
    }
    catch (err){alert("igControlsScripts.gridGetSelectedRow: " +  err.message)};
}


function gridScrollToSelectedRow(gridName){
    try{
        var oRow = this.gridGetSelectedRow(gridName);
        if (oRow) oRow.scrollToView();
    }
    catch (err){alert("igControlsScripts.gridScrollToSelectedRow: " +  err.message)};
}


//--------------------------------------------------------------------------
//  DateChooser functions
//--------------------------------------------------------------------------
function datechooserInitialize(oDateChooser, bForceInit){
    var val = oDateChooser.getValue();
    if (val == null || val == undefined || bForceInit){
        var myDate = new Date();
        oDateChooser.setValue(new Date(myDate.getFullYear(), myDate.getMonth(), myDate.getDate()));
    };
}


function datechooserSetEnableDayStyle(oDay, bEnable){
    var cssDisable="igdcDisabledDay";

    if(bEnable){
        //remove the disable style
        var re = new RegExp("[ ]*"+cssDisable+"gi");
        oDay.css = oDay.css.replace(re, "");
        }
    else{
        //add the disabled style
        oDay.css += " " + cssDisable;
    };
}


Event Handler
Code:
igmenu_igUltraWebMenu_Events = [ ["",0],["",0],["menuItemClicked",1],["",0],["",0]];

   igmenu_initMenu('igUltraWebMenu');
//--></script><script type='text/javascript'><!--
try{igtab_init("igNavTabStrip",0,["igNavTabStrip|7|0|0|igtbDefaultTab+++|2||javascript:''|-1","1|1|0||||Ticket Information||navTab1|","1|1|0||||Location Information||navTab2|","1|1|0||||Phone Listings||navTab3|","1|1|0||||Audit Trail||navTab4|","1|1|0||||Latest Software||navTab5|"], "afterNavTabClicked|beforeNavTabClicked|||||||");}catch(e){}
//--></script><script type='text/javascript'><!--
try{ig_shared.getCBManager().newPanel('warpMessage','warpMessage',null,[],null);}catch(e){window.status='Can not init warpMessage';}
//--></script><script type='text/javascript'><!--
try{igedit_init("ResultPanel_TicketInfoForm_txtStrNbr",0,"ResultPanel$TicketInfoForm$txtStrNbr,0 txtStrNbr_KeyDown ,1,,,,5,1,1,,,2,1,,-1,",["03340"]);}catch(e){window.status="Can't init editor";}
//--></script><script type='text/javascript'><!--
try{igedit_init("ResultPanel_TicketInfoForm_txtTktNbr",4,"ResultPanel$TicketInfoForm$txtTktNbr,,1,,,,0,1,1,,,0,0,,-1,",["6870598","..","","-","","","n","-n",6,0,0,1,0,1,2147483647,"","",3]);}catch(e){window.status="Can't init editor";}
//--></script><script type='text/javascript'><!--
   var oResultPanelxTicketInfoFormxddlOriginxxGrid = igtbl_initGrid("ResultPanelxTicketInfoFormxddlOriginxxGrid",[false,0,2,1,2,2,"ig_a8075f9f_r1 igwcRow","ig_a8075f9f_r1 igwcRow",2,2,"",1,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",0,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",1,22,"","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4 ig_a8075f9f_r7 igwcRow","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","igwcSelectedRow","igwcSelectedRow","igwcSelectedRow",0,1,1,2,0,0,false,1,1,8,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUoNBTvYSJUXHOn9cTEJarQE1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUjLMmy_XjhMbSzaRDVWprPY1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUv5RIkDk9310pfGN38T-snw1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUrBrc0EUT-B38Yv1zOnFtpo1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUoLJZthGk1IkOGLiz2osGqk1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUjeCUeacFVFM-J9bSiTsUzo1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUn-br32puo6mFLiumdqsT6o1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUmypmGLZ-PE_6cqmOkDg5Ec1&t=633289117087522732",[true,"#000000","","0px",["","","","","","","","","","","",""]],",|.",2,"ResultPanel$TicketInfoForm$ddlOrigin$_Grid",0,0,"",false,0,"ResultPanel_TicketInfoForm_ddlOrigin__Grid",1900,false,1,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUreC4dzH101fmP-5mgcIbLE1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUtNy61myusq0TBvgQO2jTLM1&t=633289117087522732","",0,0,1,0,0,0,"Row {0}, {1}: {2}","Child row {0}, {1}: {2}","","","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUpESCBDx_z12tXp10gUFlso1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUoO9a_2koSUBFdLBCNx7P22qMncj2z7c9Az49cx4VTgm0&t=633289117087522732","","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcru50m7vXvGoSXpdcF2A3_onVaY_aCtjMmDKR7SsxuIHrjWysL5HpAHWGKmt9Xo9hKwSG2lKNht_6zcqBGyI1TZKG7tJMAYS2q8KhSMQbHtXjDk85Gi6z5QgRb6BIhvgZwj2uJ-i_ozPL08ww_M4QdEI1&t=633289117079710232",true,2,0,"","","","","","","","","","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUjeCUeacFVFM-J9bSiTsUzo1&t=633289117087522732","https://raportal.riteaid.com/RS/RSRACS/Screens/Ticket/RSRS0010.aspx?pNbr=6870598&pOprTyp=SC","ig_a8075f9f_r19","ig_a8075f9f_r20","ig_a8075f9f_r21",[[3,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUqGnOv5vIoM-Lu565lw54yoqXE3ifM4IFd09yMrXynT60&t=633289117087522732","Filter Equals","Equals"],[4,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUokhrzDNNkTvRoQXAhLxPr9NtgD4YQLzCeg_YIEZAs0w0&t=633289117087522732","Not Equal","Not Equals"],[5,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUge1k-W7xFRRW88iHO108jMEpAG9M8jyYliRRi5_wGp40&t=633289117087522732","Like","Like"],[6,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUogqq8LS2cb1-BQvP262eCX9F5G1TOtXNThZUPvaGYO50&t=633289117087522732","Not Like","Not Like"],[7,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUhO8TieMxSHjnZioHy1cxRwyQmJQDqsPbac3z7r_evq60&t=633289117087522732","Less Than","Less Than"],[8,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUhO8TieMxSHjnZioHy1cxRwqmbyq5-q8dTJ3QHvevOaT0&t=633289117087522732","Less Than Or Equals To","Less Than Or Equals"],[9,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUhNZUXf5hOYTUS39N7Wc2F3EoAHPHSmnkJYvaCl1JQia0&t=633289117087522732","Greater Than","Greater Than"],[10,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUhNZUXf5hOYTUS39N7Wc2F2ed6sZI2bNfh5KoQE65lhOQl_qHA-l6fzIDXSmN4I8gQ2&t=633289117087522732","Greater Than Or Equals To","Greater Than Or Equals"],[11,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUiBTw3KWE5GKWbq-tXZNgHWoRPPSyrsiVng09CLNLn_m0&t=633289117087522732","Starts With","Starts With"],[12,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUvy4Otcu_r-gLENA5WeoYsfe58K3lEl-JV-YrQscVg-r0&t=633289117087522732","Does Not Start With","Does Not Start With"],[13,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUp0sgCnAh251xdF7PcWAqUQtxBf4r_lmfp5ddbYAqDpc0&t=633289117087522732","Ends With","Ends With"],[14,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUthQ2Uj1KKA0hezPi9dATYwy4bdxTTh9S_kqP8-4_kWs0&t=633289117087522732","Does Not End With","Does Not End With"],[15,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUuWOVlzUHrO62nEsGQLIb15U1Zi6T6k17YmQc8OPV4hJ0&t=633289117087522732","Contains","Contains"],[16,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUvGFGfMfOCbhgcbaNv9hQiImIB_3hK8x2Nahx_LeWWQv0&t=633289117087522732","Does Not Contain","Does Not Contain"]],"","","","","",1],[["RSCSC_CALL_SRC_DESRSCSC_CALL_SRC_ID",2,0,0,0,"ig_a8075f9f_r1 igwcRow","ig_a8075f9f_r1 igwcRow",0,0,2,2,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUoNBTvYSJUXHOn9cTEJarQE1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUv5RIkDk9310pfGN38T-snw1&t=633289117087522732","/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUrBrc0EUT-B38Yv1zOnFtpo1&t=633289117087522732","12px","",0,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-UtuD8c5NS5xbuYdS1yauKUjLMmy_XjhMbSzaRDVWprPY1&t=633289117087522732","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",0,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",0,true,false,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4 ig_a8075f9f_r7 igwcRow","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","igwcSelectedRow","igwcSelectedRow","igwcSelectedRow",0,0,0,0,0,"","",[],1,false,22,"","","","",0,1,1,false,false,1,2,2,"",false,1,1,1,"(All)","(Empty)","(NonEmpty)",[],0,"0","2","","",2,0,2,1,1,1,"","","","","",["Equals","Not Equals","Like","Not Like","Less Than","Less Than Or Equals","Greater Than","Greater Than Or Equals","Starts With","Does Not Start With","Ends With","Does Not End With","Contains","Does Not Contain"],0]],[[["RSCSC_CALL_SRC_DES","",8,0,false,1,0,0,0,0,0,0,false,"",false,0,"","","igwcSelectedRow","igwcSelectedRow",0,"",[],"","","",0,[],"","","",true,false,false,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","width:100%;height:100%;",false,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",0,"","","",false,"","","","",false,[],2,1,1,0,3,1,0],["RSCSC_CALL_SRC_ID","",8,0,true,1,0,0,0,0,0,0,false,"",false,0,"","","igwcSelectedRow","igwcSelectedRow",0,"",[],"","","",0,[],"","","",true,false,false,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4","width:100%;height:100%;",false,"ig_a8075f9f_r1 igwcRow ig_a8075f9f_r4",0,"","display:none;","",false,"","","","",false,[],2,1,1,0,3,1,0]]],[["", 0],["", 0],["", 0],["", 0],["", 0],["igcmbo_gridrowactivate", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["igcmbo_gridkeydown", 0],["", 0],["", 0],["igcmbo_gridmouseover", 0],["", 0],["igcmbo_gridmouseup", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["igcmbo_XmlHTTPResponse", 1],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0],["", 0]],[11,50,50,[],[],[],"","","",0,0,"/RS/RSRACS/WebResource.axd?d=EGtcRqcG9_TMglwFnZqcrkc0girTpzsV7pJVI4NbsJqr7dZ1M7lRKMPTy4-NFfBuqMqj5mW4MU21yQ1mt0HdpnKwrPIY87iVK5pGZjJB-k5UBBwp2FO569NYa6Melt-Ukso4SVZ-uKQ7wIhMj-azHs5pw14EJ-ufStDvAdc4p6w1&t=633289117087522732","",[],,-1],"");


(sorry for breaking the thread width)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 20th, 2010, 5:15 am 
Tyrsius wrote:
Perhaps I am calling the childnode() method improperly.
You are correct :wink: . In your defense though, I told you wrong - it's childNodes:
Code:
javascript:  alert( document.all['igUltraWebMenu_3_3_2'].childNodes.length ) // display # of childNodes
javascript:  node = document.all['igUltraWebMenu_3_3_2'].childNodes[0] // access/assign first childNode

You might be interested in this page, specifically To walk the DOM tree > node


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 8:27 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
Code:
javascript:  alert( document.all['igUltraWebMenu_3_3_2'].childNodes.length )

Returns one. if I try to click on childNodes[0], I get no response though.

Code:
javascript:  alert(document.all['igUltraWebMenu_3_3_2'].nodeName)
javascript:  alert(document.all['igUltraWebMenu_3_3_2'].childNodes[0].nodeName)


The first returns TABLE
the second returns TBODY

That seemed weird to me, so I thought I would let you know.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 9:35 pm 
You can keep stepping down:
Code:
javascript:  alert(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes.length) // display # of childNodes
javascript:  node = document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0] // access/assign first childNode
I'd challenge you to get creative with navigating the DOM :wink: .


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 9:55 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
answer4u wrote:
You can keep stepping down:
Code:
javascript:  alert(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes.length) // display # of childNodes
javascript:  node = document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0] // access/assign first childNode
I'd challenge you to get creative with navigating the DOM :wink: .


I am pretty over my head at this point, so I appreciate your help and patience. This is all the the children for that element, with the number of children they have. None of these elements responded to clicks.

I posted a similar question on the Infragistics forums, I will let you guys know if they have an answer.

I don't think these controls are going to respond to normal clicks through JS at this point though. I think we have tried everything.

Code:
(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes.length) =3, click=no
(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[0].childNodes.length) =0, click=no
(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[1].childNodes.length) =2, click=no
(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes.length) =1, click=no(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes.length) =0, click=no
(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[1].childNodes[1].childNodes.length) =0, click=no(document.all['igUltraWebMenu_3_3_2'].childNodes[0].childNodes[0].childNodes[2].childNodes.length) =0, click=no


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 31st, 2010, 4:06 am 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
Finally got a response from Infragistics about this, but it was not very helpful (yet).

The guy gave me two links to check out, and I will try to make sense of them, but I figured I would post them here to see if anyone else is able to get a better understanding of them. They look like JS methods for use with the menu but I am not sure how to use them. I will keep messing with it and see if I get anywhere.

http://help.infragistics.com/Help/NetAd ... _CSOM.html
http://help.infragistics.com/Help/NetAd ... _CSOM.html


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], chaosad, jrav, MSN [Bot] and 24 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group