Jump to content
UBot Underground

Changing An Element Dynamically In Ui Html Panel


Recommended Posts

Hey guys,

 

I wonder if there is a way to change an element dynamically in a page by way of changing a variable in ubot. I'm going to look to see how Darryl does conditional elements with jquery, but I'd like to post there here anyhow.

 

What I want to do is dyamically display one image or another in the same spot based upon whether a variable is yes or no.

 

I did see this thread on the forum, http://network.ubotstudio.com/forum/index.php?/topic/12173-how-to-make-a-field-appear-upon-clicking-a-checkbox/but wonder if it can be modified to work with a variable instead of a checkbox.

 

TJ you seem to be the master here on this one.

 

Frank

Link to post
Share on other sites

you can put a <span variable="#VAR_NAME" fillwith="innerhtml"></span>

 

then when you change your variable with any html code you like, it will be updated there.

 

is this what you were looking for?

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