Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2015 11:07 AM
Hi Justin,
Do you get an errors or logs int he console, when running that from the client script versus doing it from the console? They are both just telling Javascript to access the g_form object and call the getElement method on it, then setting focus on that element. The only reason it wouldn't work in a client script is if it's a Scoped client script, in which case access to getElement is not available and you'd see an error message.