Forum Discussion
JerryBeaucaire
7 years agoCommunity Member
Edit an Imbed Code with Javascript?
I currently have a URL-based link for feedback on a course/quiz. Since the LMS is able to provide the course name and the user's name, I use javascript to collect that info and create a "smartURL" ...
JerryBeaucaire
7 years agoCommunity Member
I've attached a short story testing this and it doesn't seem to work.
Up above next to RESOURCES is a basic hyperlink that is opening the smartURL string that the javascript is creating. When I test this in my LMS, I get the username and the coursename filled in on the popup window.
There's a green button on the second slide that does the same thing, works great.
On the second slide is a blue button to open the layer that has the imbed object on it. WHen that layer opens, none of the fields are prefilled.
I adapted your code suggestion to use the js variables already working, not sure what else to edit. I appreciate the second set of eye.