Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 With SplashRequest to run javascript onclick function to render page properly
I need to call javascript function with my SplashRequest.
This javascript I need to execute before page is render
<a href="#" onclick="submitCreateReservation('ypsForm:j_id205','O-0-0-0');">option</a>

How should I code my SplashRequest?

yield SplashRequest(
    args={'js_source': 'document.title="My Title";'})

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  python Render template Akhou 2 614 Apr-26-2018, 10:48 PM
Last Post: Akhou

Forum Jump:

Users browsing this thread: 1 Guest(s)