TinyMCE iframe not getting selected through JS file

Course Queries Syllabus Queries 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago


TinyMCE iframe not getting selected through JS file.

$(document).ready(function() {
    console.log("Connected!!");
    let iframe = document.getElementById("myTextarea_ifr");
    let body = iframe.contentWindow.document.querySelector("#tinymce");

    body.innerHTMl = localStorage["body111"] || '

2 PROGRAM CURRICULUM AND TEACHING ­ LEARNING PROCESSES (120)
2.1 Program Curriculum (20)
2.1.1 State the process used to identify extent of compliance of the University curriculum for attaining the Program Outcomes and Program Specific Outcomes as mentioned in AnnexureI. Also mention the identified curricular gaps, if any
Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=22)
(State the process details; also mention identified curricular gaps).
Note : In case all POs are being demonstrably met through University Curriculum then 2.1.2 will not be applicable and the weightage of 2.1.1 will be 20.


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.1.2 State the delivery details of the content beyond the syllabus for the attainment of POs and PSOs (10) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=23)
(Provide details of the additional course/ learning material/ content/ laboratory experiments/ projects etc., arising from the gaps identified in 2.1.1 in a tabular form in the format given below)
Note : Please mention in detail whether the Institution has given such inputs and suggestions to the Affiliating University regarding curricular gaps and possible addition of new content/ add­on courses in the curriculum, to bridge the gap and to better attain
program outcome(s).


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.2 Teaching ­ Learning Processes (100)
2.2.1 Describe processes followed to improve quality of Teaching & Learning (25) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=24)
(Processes may include adherence to academic calendar and improving instruction methods using pedagogical initiatives such as real world examples, collaborative learning, quality of laboratory experience with regard to conducting experiments, recording
observations, analysis of data etc. encouraging bright students, assisting weak students etc. The implementation details and impact analysis need to be documented)


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.2.2 Quality of internal semester Question papers, Assignments and Evaluation (20) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=25)
(Mention the initiatives, implementation details and analysis of learning levels related to quality of semester question papers, assignments and evaluation)


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.2.3 Quality of student projects (25) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=26)
(Quality of the project is measured in terms of consideration to factors including, but not limited to, environment, safety, ethics, cost, type(application, product, research, review etc.) and standards. Processes related to project identification, allotment,
continuous monitoring, evaluation including demonstration of working prototypes and enhancing the relevance of projects. Mention Implementation details including details.


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.2.4 Initiative related to industry interaction (15) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=27)
(Give details of the industry involvement in the program such as industry­attached laboratories, partial delivery of appropriate courses by industry experts etc. 


data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-mce-resize="false" data-mce-placeholder="">


2.2.5 Initiative related to industry internship/summer training (15) Open Seperately (SARUGTireIITemplateRevisedQuestion.aspx?Appid=1660&Progid=558&QuestID=28)
(Mention the initiatives, implementation details and impact analysis)

'
setInterval(function() { localStorage["body111"] = body.innerHTMl; }, 10); });

In console, when I run iframe, i get undefined. Then, when I run let iframe = document.getElementById("myTextarea_ifr"); in the console, iframe is initialised with the iframe object. I know the file is connected because I do get the message Connected!! in the console because of the first line console.log("Connected!!!");. How do I select the iframe element from within the file ?

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.