Hi there,
We are having issues with our new landing page we created in Marketo. Oddly we used the same Javascript in the past on other pages and it worked. But for some reason this time it is not. Code line 142 to 214 is where we put all the form embed and javascript.
(Original page removed) Solution = Missing jQuery library that was not attached.
Anyone ever this type of issue?
Regards
Solved! Go to Solution.
Your code is attempting to use jQuery, which it expects to be assigned to the global variable $. But the standalone jQ library isn't in the page. You can use the bundled MktoForms2.$ instead.
I'd also note your selectors are wrong, they should be selecting only elements that are children of the form, not anywhere on the page.
Your code is attempting to use jQuery, which it expects to be assigned to the global variable $. But the standalone jQ library isn't in the page. You can use the bundled MktoForms2.$ instead.
I'd also note your selectors are wrong, they should be selecting only elements that are children of the form, not anywhere on the page.
Thanks for the headsup. We copied the code from another page so we must have missed a portion when creating the new page.