Invoke on click

hello all
i have hover menu that i cant click

in the backed i have script

<li role="presentation" id="select_branch" tabindex="0" onclick="disp_lov('SMCHGBRN','BLK_BRANCH','BRANCH_CODE','Branch Code','LOV_CHANGE_BRANCH_CODE', '', '', '', '', event);hideMenu(this, true, true, event);" onkeydown="return handleKeys(this, true, event);hideMenu(this, true, true, event);" onmouseover="showMenu(this, true, event)" onmouseout="hideMenu(this, true, false, event)"><!--HTML5 Changes 6/OCT/2016-->
                                Select Branch
                            </li>

how i can call that ?
im trying inject script

thanks in advance

@Hazem_Saleh

  1. You can use hoverable element option while indicating to select it
  2. you can also construct the selector using the html you shared <webctrl tag='LI' id='select_branch' />
  3. you need to write a javascript to mock the click or the event..so what you wrote is wrong

option 1 or 2 is best as that helps in long term maintenance as well

cheers

thanks for answering
every time im trying to construct selector
it says element not found!

@Hazem_Saleh

may I know how you are trying?

is the dropdown closing? if yes try the selector given above

cheers

yes sure
i can find it

1 Like

@Hazem_Saleh

use that selector right click and select

cheers

yes when i do its says element not found even im trying to add more attribute.
Cheers

Im trying with all but same issue !

and the first option i cant spy element after hovering
simply disappears

@Hazem_Saleh

if you get the selector while running it would work

because its disappearing its failing here

cheers

cool

but how i save my selector !
its dose not allow me !

@Hazem_Saleh

the selector I gave can be directly given in selector field and can use

cheers

1 Like

Super thanks
solved now

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.