Dynamically fill a field in a form
I have a Marketo form embedded on our website, I'm wondering if it's possible to dynamically fill an input field with text using jQuery? The web page that contains the embedded form is on a non Marketo hosted web page.
Here is the jQuery that I'm currently attempting to use:
var text = "Hello World";
$('#FirstName').val(text);
So far, I haven't had any luck getting this to work. It works on non Marketo forms such as Gravity Forms.
Thanks in advance for any help!
-Brandon