Try this: 1) Activate 'Break on Next' (http://getfirebug.com/wiki/index.php/Script_Panel#Break_On_Next) 2) Click on the non-working link 3) Using the Script panel an your debugging skills, identify the problem.
If these steps doesn't work, it means that your JavaScritp click events are not working (i.e. your HTML can't 'talk' to your JavaScript). If you see the code in Script panel and can use Execution Control Buttons to control the code execution, then you'll need to dig in JavaScript code until you spot the problem. Also, you can apply the BreakOnNext technique to the keyboard shortcuts, and try to figure out why the code flow is different. Other option is run the 'onclick' directly from the Firebug Command-Line. In your example, the code to run is 'submitAction_win0(document.win0,'#ICSearch');' and see what happens. Hope it helps. -- S.Cinos JavaScript Developer at Tuenti.com 2011/1/31 calicoann <[email protected]>: > Hi, > > I'm having a problem that a person on another forum suggested I > investigate with Firebug. > I haven't managed to discover yet if Firebug can pinpoint what's going > on here, and I'm extremely noobish in this arena (background is > switches/routers, etc., not web pages/scripting, though I've dabbled, > and have a general idea of events, programming, client vs. server, > etc.) > > The System: > This is a PeopleSoft installation (3-tier - WebLogic web server, > Tuxedo transaction management, MSSQL database). > There is a generic search form, which appears with minor variations > (title, etc.)in a number of navigational branches. > The behaviour described below occurs in all the search pages I've > investigated so far. > > There are 12 controls on the Search form. > The controls execute code in various ways, for example: > ~~http://ipAddress:port/psp/HCDEMO/EMPLOYEE/HRMS/?cmd=logout > ~~javascript:processing_win1(0,3000);%20void%20window.open('http:// > ipAddress:port/psp/HCDEMO_newwin/EMPLOYEE/HRMS/w/WORKLIST? > ICAction=ICViewWorklist&Menu=Worklist&Market=GBL&PanelGroupName=WORKLIST','',''); > ~~http://ipAddress:port/psp/HCDEMO_1/EMPLOYEE/HRMS/s/ > WEBLIB_PTIFRAME.ISCRIPT1.FieldFormula.IScript_PT_Popup > ~~javascript:CopyUrlToClipboard(); > ~~javascript:submitAction_win1(document.win1,'#ICSwitchMode'); > > Some controls have application specific keyboard shortcuts. > > The Problem: > Some controls operate correctly when clicked. Others do not. > The controls that do NOT operate correctly when clicked, DO operate > correctly in response to their keyboard shortcut. > > This behaviour has been observed in multiple versions of both IE and > Firefox, on multiple workstations. All workstations and browser > versions behave normally for all other web sites. > > Focusing in on Buttons, I've gotten to where I can Inspect Element and > Inspect in Dom Tab for the Search button, and have copied and examined > the HTML, the XPath, and the CSSPath for the button, obtaining the > following: > > HTML: > <input type="button" title="Search (Alt+1)" alt="Search (Alt+1)" > tabindex="20" onclick="javascript:submitAction_win0(document.win0, > '#ICSearch');" value="Search" class="PSPUSHBUTTONTBSEARCH" > name="#ICSearch" id="#ICSearch"> > > XPath: > //*[@id="#ICSearch"] > > CSSPath: > html body.PSSRCHPAGE form div#win0divSEARCHBELOW a#Left.PSPUSHBUTTON > span input##ICSearch.PSPUSHBUTTONTBADD > > > I've also been able to observe that the form HTML for the form > containing the button has a number of Input elements, including the > following: > <input type="hidden" value="None" id="ICAction" name="ICAction"> > > I've been able to observe that the value for the above Input element > changes to #ICSearch when I click the Submit button > > I have NOT been able to make any use of Profile Javascript (Ctrl/Shft/ > P) - Is that likely to help with this problem? > > Also, noticed on the Extensions page in the Wiki there's an extension > called Eventbug - Would that extension possibly tell me something new > about this problem? > > Any and all hints or additional things I can try either with Firebug, > or some other tool, will be most deeply appreciated... > > Linnea > > -- > You received this message because you are subscribed to the Google Groups > "Firebug" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/firebug?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
