Automatically click the 'edit' link after page view renders via js

I have seen another post where you can automatically click the submit button for a form. But, I would like to automatically click the 'edit' link in a details view.

Full confession; I am not that good with JS

$(document).on('knack-scene-render.scene_645', function(event, scene) {



That is so beautiful Kelson!!!! It works great!!

Thank you so very much!

Have a great day!


Hi Bob, 

 Replace the trigger with the script posted below. Make sure you replace the text "Edit" with the exact label for your link (it is case sensitive)

Knack.$(' a:contains("Edit") span').click()

Best Regards, 
Kelson Erwin
Full-Time Knack Builder