Jump to content
UBot Underground

Load Html - How To Know What Was Selected?


Recommended Posts

You can use "$scrape attribute" to get the value's.

 

Not sure what you are doing however, you may take a look at the UI Drop Down command and use "if" and "else if" commands instead.

ui drop down("Choose a page:","page 1,page 2,page 3",#UI_DD_pages)
if($comparison(#UI_DD_pages,"= Equals","page 1")) {
    then {
        alert("page 1")
    }
    else if($comparison(#UI_DD_pages,"= Equals","page 2")) {
        alert("page 2")
    }
    else if($comparison(#UI_DD_pages,"= Equals","page 3")) {
        alert("page 3")
    }
}
comment("use navigate command instead with url.")

Regards,

CD

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...