Hi community,
I have this code below,
import streamlit as st
st.write(“Check 8”, unsafe_allow_html=True)
I want to get action when i click on 8 in web interface, how to do that?
Thank you,
TraDinh
Hi community,
I have this code below,
import streamlit as st
st.write(“Check 8”, unsafe_allow_html=True)
I want to get action when i click on 8 in web interface, how to do that?
Thank you,
TraDinh
If you’d like to make the number 8 a link, you can do
import streamlit as st
st.write("Check [8](https://google.com)")
Hope this helps!
I want sth like when i click on 8, python code know that action and do another task (ex: print out debug line,…) after that.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.