Using a dropdown menu in webview

I'm not super experienced with javascript and I'm a bit confused trying to get this code to work with a page I have running in rv. It creates the dropdown no problem, but it never reaches the function I want it to go to. I followed the instructions on this page here:


I've also wrapped the creation of the dropdown in <form> tags and tried it with 'javascript:' in front of my call to the function.

Also on an unrelated note, I seem to be missing something on how rvsession.pyevaluate() works.

This line produces nothing in rv's console from an html page, inside of a function within script tags. (Other commands in the function are working, so I know it's actually getting to the code)



[Edit] I got it to call the function. It needed langauge="javascript" along with the type="text/javascript" code. However, my other question still stands about pyevaluate.

댓글 1개

  • 0
    Jon Morley

    Hi Corey,

    I am glad you were able to get your script to load. I would like to help assist you with your pyevaluate question. Can you please elaborate on what you are trying to call? Can you please share the code you are calling?



댓글을 남기려면 로그인하세요.