Hello there I am having some difficulty auto focusing the first field of a Gravity Form being used inside a Fancybox popup.
I have tried traditional body onload JavaScript snippets as well as jQuery implementations but alas... no luck.
Here is my jQuery:
<script type="text/javascript">
$(document).ready(function(){
document.myGformID.myGformInputID.focus();
});
</script>
Any idea what might be causing this issue? I assume it is something blatantly obvious but I have looked around and found no answers on the web.
Thanks!