Jump to content
UBot Underground

Update List Box/Dropdown UI HTML Panel


Recommended Posts

Hey guys I am trying to have my List Box/Dropdown Update in the UI HTML Panel without having to restart the bot. I have a file Set to the #Sites variable that is ever changing as the bot runs but its setup as:

 

<option>www.something.com</option>
<option>www.stuff.com</option>
<option>www.example.com</option>

 

Now I tried this which actually worked. It updated the list but then I couldn't select a variable. The list looked great and would update when the variable did but there was no way to use it.

 

<select variable="#Sites" fillwith="innerhtml"
style="width: 220px;">
</select>

 

I added a #Sitechoice variable so that it would be the actual selection of the value. I tried this which won't work for whatever reason. Seems logical. As long as the #Sites command is being updated shouldn't it update in the UI Panel?

 

<select variable="#SitesChoice" fillwith="value"
style="width: 220px;">#Sites
</select>

 

I took the code from John's Stat Monitor UI HTML Panel example and tried to place it in and it doesn't load anything in the list box as the variable updates. Not sure why this works outside of the list box but won't work inside of it.

 

<select variable="#SitesChoice" fillwith="value"
style="width: 220px;"><div variable="#Sites" fillwith="innertext">Sites</div>
</select>

 

Any help would be great guys.

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...