Jump to content
UBot Underground

How do you manipulate HTML Panel elements using JS/jQuery?


Recommended Posts

Hi,

 

I am trying to figure out this magic but so far not luck. Here's simple HTML Panel

 

<div id="test" style="display:none">
    foo
</div>

And what I want to do is from Ubot display that element.

 

define AddVideo () {
    run javascript("$(\"#test\").show();")
}

The problem is when Ubot executes the JavaScript line it is probably looking for that element in the Browser window instead of the HTML Panel.

 

There's gotta be a way...! Thanks in advance!

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