Jump to content

questions about combobox select


Recommended Posts

hi  guy i  have  program 

it  would  choice  a  combo  box  i use  

$oSelect = _IEFormElementGetObjByName($oForm, "categoria")
_IEAction($oSelect, "focus")

 

but  dont  do nothing

the  site  is  https://www.kijiji.it/pubblica-annuncio

i want  select  combobox  of  categoria

the  script  is 

_entra_kijiji_it()
    _IENavigate($oIE, "https://www.kijiji.it/pubblica-annuncio")
    _IELoadWait($oIE)
    $oSelect = _IEFormElementGetObjByName($oIE, "categoria")
_IEAction($oSelect, "focus")

 

 

Link to comment
Share on other sites

i tryed  in this  mode i think go 

thankz at  all

 

_IENavigate($oIE, "https://www.kijiji.it/pubblica-annuncio")
    _IELoadWait($oIE)
      
    $oSelect = _IEGetObjByName($oIE, "categoria")

    _IEFormElementOptionSelect($oSelect, "Lavoro", 1, "byText")
_IEAction($oSelect, "focus")

 

Edited by faustf
Link to comment
Share on other sites

but  i have  another  problem 

in this mode select  a  category    Lavoro   but not  appear  a  second combobox  with second category

but  if  i select  with mouse  , (without  my script  appear asecond  box  ) why ??

thankz  at all

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...