NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on December 02, 2022, 03:01:47 PM

Title: How about adding some helper funcions
Post by: Alberto on December 02, 2022, 03:01:47 PM
How about some p_web helper functions like:

p_web.PushButton(string p_btnname)
    ex:    p_web.Script('document.getElementsByName(''bRefrescarMapa'')[0].click();')
p_web.ShowBusy(string p_left,string p_top)
    ex:    p_web.Script('$("#_busy").css(''left'',''50%'').css(''top'',''40%'').css(''display'',''flex'');')
p_web.HideBusy()
    ex:    p_web.Script('$("#_busy").css(''display'',''none'');')
Title: Re: How about adding some helper funcions
Post by: Bruce on December 07, 2022, 01:38:46 AM
noted. I'm not sure where this ends though. there are more-or-less an infinite number of things that could come into play here.